fix build test due to recent change

We're now looking for sources in the same dir as the json, so fix
the test
tingping/wmclass
Alexander Larsson 2016-05-06 16:36:59 +02:00
parent 1ffdf27d92
commit 23dbfd5301
1 changed files with 3 additions and 2 deletions

View File

@ -34,7 +34,8 @@ cd $TEST_DATA_DIR/
cp -a $(dirname $0)/test-configure .
echo "version1" > app-data
xdg-app-builder --repo=$REPO --force-clean appdir $(dirname $0)/test.json > /dev/null
cp $(dirname $0)/test.json .
xdg-app-builder --repo=$REPO --force-clean appdir test.json > /dev/null
assert_file_has_content appdir/files/share/app-data version1
assert_file_has_content appdir/metadata shared=network;
@ -60,7 +61,7 @@ assert_file_has_content app_data_1 version1
echo "ok install+run"
echo "version2" > app-data
xdg-app-builder --repo=$REPO --force-clean appdir $(dirname $0)/test.json > /dev/null
xdg-app-builder --repo=$REPO --force-clean appdir test.json > /dev/null
assert_file_has_content appdir/files/share/app-data version2
${XDG_APP} --user update org.test.Hello2 master