~ted/ubuntu-app-launch/cache-sync-in-file

« back to all changes in this revision

Viewing changes to tests/desktop-hook-test.sh.in

  • Committer: Ted Gould
  • Date: 2015-04-01 23:55:05 UTC
  • Revision ID: ted@gould.cx-20150401235505-bycksrwsjmp9urhe
Clean up, add some comments

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
DATA_DIR=${TEST_DIR}/desktop-hook-test-apps-dir
10
10
APPS_DIR=${DATA_DIR}/applications/
11
11
 
12
 
rm -rf ${CLICK_DIR}
 
12
# Remove the old directories
 
13
rm -rf ${CACHE_DIR}
 
14
rm -rf ${DATA_DIR}
 
15
 
 
16
# Copy our source applications
13
17
mkdir -p ${CLICK_DIR}
14
18
cp ${SRC_DIR}/applications/* ${CLICK_DIR}
15
19
 
 
20
# Setup the environment
16
21
export XDG_CACHE_HOME=${CACHE_DIR}
17
22
export XDG_DATA_HOME=${DATA_DIR}
18
23
 
 
24
# Run the tool
19
25
@CMAKE_BINARY_DIR@/desktop-hook
 
26
 
 
27
# Verify the results