forked from Mirrors/flatpak-builder
fix build test due to recent change
We're now looking for sources in the same dir as the json, so fix the testtingping/wmclass
parent
1ffdf27d92
commit
23dbfd5301
|
@ -34,7 +34,8 @@ cd $TEST_DATA_DIR/
|
||||||
|
|
||||||
cp -a $(dirname $0)/test-configure .
|
cp -a $(dirname $0)/test-configure .
|
||||||
echo "version1" > app-data
|
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/files/share/app-data version1
|
||||||
assert_file_has_content appdir/metadata shared=network;
|
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 "ok install+run"
|
||||||
|
|
||||||
echo "version2" > app-data
|
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
|
assert_file_has_content appdir/files/share/app-data version2
|
||||||
|
|
||||||
${XDG_APP} --user update org.test.Hello2 master
|
${XDG_APP} --user update org.test.Hello2 master
|
||||||
|
|
Loading…
Reference in New Issue