diff options
author | Alexander Larsson <alexl@redhat.com> | 2017-01-12 00:04:36 +0100 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2017-01-12 00:04:36 +0100 |
commit | 0fb2f362a8fb23dc14deee67e2d04bea1334cc6e (patch) | |
tree | d48329154a164d6a799b170b7ddc9b592a68f014 /tests/make-test-app.sh | |
parent | 4c686332a3e2d251419d780548885e6c2f7b37de (diff) | |
download | flatpak-0fb2f362a8fb23dc14deee67e2d04bea1334cc6e.tar.gz |
tests: Move the test repo to a subdirectory (repos/test)
This makes the ostree trivial-httpd --autoexit feature work better,
because it seems to exit whenever the root directory changes (i.e. not
only when its deleted).
This means the root dir can't be the repo (because then we can't
update the repo), or the base testdir (because we create files there
too), so instead we make the repo $testdir/repos/test and
$testdir/repos as the httpd root.
Diffstat (limited to 'tests/make-test-app.sh')
-rwxr-xr-x | tests/make-test-app.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/make-test-app.sh b/tests/make-test-app.sh index 2a9d44fb..0873d6bc 100755 --- a/tests/make-test-app.sh +++ b/tests/make-test-app.sh @@ -54,5 +54,6 @@ EOF cp $(dirname $0)/org.test.Hello.png ${DIR}/files/share/app-info/icons/flatpak/64x64/ flatpak build-finish --command=hello.sh ${DIR} -flatpak build-export ${GPGARGS-} repo ${DIR} +mkdir -p repos +flatpak build-export ${GPGARGS-} repos/test ${DIR} rm -rf ${DIR} |