]> git.pond.sub.org Git - empserver/blobdiff - tests/info-test
tests: New test-suite-only command __cmd
[empserver] / tests / info-test
index 5fa1776e1263b3b720a33bea0ae7dac5a280b47d..8544b20e3b0a3f4a2d4cc03f219c27ad6d4f6807 100755 (executable)
@@ -10,6 +10,15 @@ srcdir="$1"
 . "$srcdir"/tests/test-common.sh
 
 create_sandbox
+# Suppress test-only commands:
+cat >>sandbox/etc/empire/econfig <<EOF
+running_test_suite 0
+EOF
+
+# begin_test warns POSIX isn't expected to work, because thread
+# scheduling isn't reliably deterministic.  Not an issue for this
+# test, so suppress the warning.
+[ "$empthread" = POSIX ] && warn_empthread=
 
 begin_test <<EOF
 add 1 1 1 p