diff --git a/tests/08-cqfd_shell b/tests/08-cqfd_shell index 4755341..9cac81b 100755 --- a/tests/08-cqfd_shell +++ b/tests/08-cqfd_shell @@ -75,6 +75,20 @@ else jtest_result fail fi +jtest_prepare "cqfd shell is usable to run shell script" +if $cqfd shell ./whereami.sh 2>&1 | grep '^Ubuntu .* LTS$'; then + jtest_result pass +else + jtest_result fail +fi + +jtest_prepare "cqfd bash is usable to run shell script" +if $cqfd bash ./whereami.sh 2>&1 | grep '^Ubuntu .* LTS$'; then + jtest_result pass +else + jtest_result fail +fi + jtest_prepare "cqfd shell is usable as a shell interpreter script" if PATH="$TDIR/.cqfd:$PATH"; ./whereami.sh 2>&1 | grep '^Ubuntu .* LTS$'; then jtest_result pass