diff options
Diffstat (limited to 'tests/kolainst/destructive/basic-misc.sh')
-rw-r--r-- | tests/kolainst/destructive/basic-misc.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/kolainst/destructive/basic-misc.sh b/tests/kolainst/destructive/basic-misc.sh new file mode 100644 index 00000000..6d14cc04 --- /dev/null +++ b/tests/kolainst/destructive/basic-misc.sh @@ -0,0 +1,23 @@ +#!/bin/bash + +# Random misc tests + +set -xeuo pipefail + +. ${KOLA_EXT_DATA}/libinsttest.sh + +echo "1..1" +date + +# Test CLI extensions installed alongside the system +extdir=/usr/libexec/libostree/ext/ +mkdir -p "${extdir}" +ln -sr /usr/bin/env ${extdir}/ostree-env + +env TESTENV=foo ostree env > out.txt +assert_file_has_content out.text TESTENV=foo +rm -vf "${extdir}/ostree-env" +echo "ok env" + +# End test +date |