Skip to content

Commit

Permalink
fixup! tests/installed: also run test-basic-c
Browse files Browse the repository at this point in the history
  • Loading branch information
jlebon committed Sep 29, 2017
1 parent d1fa17c commit 9410a8f
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tests/installed/itest-bare-unit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ set -xeuo pipefail
dn=$(dirname $0)
. ${dn}/libinsttest.sh

# These tests sort of bypass the installed-tests spec;
# fixing that would require installing g-d-t-r, though
# more ideally we architect things with a "control" container
# distinct from the host.
export G_TEST_SRCDIR=$(realpath $dn/../..)

# Use /var/tmp to hopefully use XFS + O_TMPFILE etc.
tempdir=$(mktemp -d /var/tmp/tap-test.XXXXXX)
touch ${tempdir}/.testtmp
Expand All @@ -18,10 +24,5 @@ function cleanup () {
}
trap cleanup EXIT
cd ${tempdir}
# This sort of bypasses the installed-tests spec;
# fixing that would require installing g-d-t-r, though
# more ideally we architect things with a "control" container
# distinct from the host.
export G_TEST_SRCDIR=$(realpath $dn/../..)
/usr/libexec/installed-tests/libostree/test-basic.sh
/usr/libexec/installed-tests/libostree/test-basic-c

0 comments on commit 9410a8f

Please sign in to comment.