diff options
author | Alexander Larsson <alexl@redhat.com> | 2019-05-10 08:59:41 +0200 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2019-05-10 08:59:41 +0200 |
commit | 1b2207c64eae588f10afa426611419ccf1473323 (patch) | |
tree | 3afe1e59f9308bfb0dfe5bb06b3edba756e71646 /tests/test-repo.sh | |
parent | c3696991226ffdb65e3e79d5702f4d2f3ec528b5 (diff) | |
download | flatpak-1b2207c64eae588f10afa426611419ccf1473323.tar.gz |
tests: Fix distcheck (test.filter is in srcdir, not builddir)
Diffstat (limited to 'tests/test-repo.sh')
-rw-r--r-- | tests/test-repo.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test-repo.sh b/tests/test-repo.sh index 028a3f10..02a90d61 100644 --- a/tests/test-repo.sh +++ b/tests/test-repo.sh @@ -621,7 +621,7 @@ ${FLATPAK} ${U} update --appstream test-repo assert_file_has_content $FL_DIR/appstream/test-repo/$ARCH/active/appstream.xml "app/org\.test\.Hello" # Make a copy so we can remove it later -cp ${test_builddir}/test.filter test.filter +cp ${test_srcdir}/test.filter test.filter ${FLATPAK} ${U} remote-modify test-repo --filter $(pwd)/test.filter ${FLATPAK} ${U} remote-ls -d -a test-repo > remote-ls-log @@ -732,9 +732,9 @@ assert_remote_has_no_config new-repo xa.noenumerate assert_remote_has_no_config new-repo xa.filter ${FLATPAK} ${U} remote-delete new-repo -${FLATPAK} ${U} remote-add --filter="${test_builddir}/test.filter" new-repo test.flatpakrepo +${FLATPAK} ${U} remote-add --filter="${test_srcdir}/test.filter" new-repo test.flatpakrepo -assert_remote_has_config new-repo xa.filter "${test_builddir}/test.filter" +assert_remote_has_config new-repo xa.filter "${test_srcdir}/test.filter" # This should unset the filter: ${FLATPAK} ${U} remote-add --if-not-exists new-repo test.flatpakrepo |