tests/installed: also run test-basic-c
authorJonathan Lebon <jlebon@redhat.com>
Fri, 29 Sep 2017 21:42:23 +0000 (21:42 +0000)
committerAtomic Bot <atomic-devel@projectatomic.io>
Sat, 30 Sep 2017 00:05:07 +0000 (00:05 +0000)
Since we now have a subtest there that needs full xattr support.

Closes: #1170
Approved by: cgwalters

tests/installed/itest-bare-unit.sh

index c763faf7e3b5dbcc98af313358f4ae779c8fc552..28ea4651c5cba904400fe90cc0f3c6561c3f72ca 100755 (executable)
@@ -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
@@ -18,8 +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.
 /usr/libexec/installed-tests/libostree/test-basic.sh
+/usr/libexec/installed-tests/libostree/test-basic-c