diff options
author | Alexander Larsson <alexl@redhat.com> | 2016-05-06 16:36:59 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-05-06 16:36:59 +0200 |
commit | 23dbfd530185a650325d527a6c8ca3700094cab2 (patch) | |
tree | 356f9b00a982846c7042e8f60c41d5f8a43fa53a | |
parent | 1ffdf27d927c7944e3bce9b1cd3c101d823fd826 (diff) | |
download | xdg-app-23dbfd530185a650325d527a6c8ca3700094cab2.tar.gz |
fix build test due to recent change
We're now looking for sources in the same dir as the json, so fix
the test
-rwxr-xr-x | tests/test-builder.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test-builder.sh b/tests/test-builder.sh index 2ec0f55..1ac4758 100755 --- a/tests/test-builder.sh +++ b/tests/test-builder.sh @@ -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 |