diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-08-01 23:41:40 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-08-01 23:41:40 +0300 |
commit | 963cd2db9b266f7521374adacb664ca8ec43d36b (patch) | |
tree | a8fe1f7c5e45a20c1b7a4ffc57b41fbff9780c8a | |
parent | daead48672e56af966911abc4efe1e54573c02cc (diff) | |
download | sciteco-963cd2db9b266f7521374adacb664ca8ec43d36b.tar.gz |
fixed the test suite on Mac OS
`echo -n` is not POSIX and obviously not supported on Mac OS' standard shell.
-rw-r--r-- | tests/testsuite.at | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at index 7fecc45..428757c 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -207,7 +207,7 @@ AT_CLEANUP AT_SETUP([Type out and get char]) TE_CHECK([[1058,1045,1057,1058^T]], 0, stdout, ignore) AT_FAIL_IF([test "`$GREP -v "^Info:" stdout`" != "ТЕСТ"], 0, ignore, ignore) -AT_CHECK([[echo -n "ТЕСТ" | $SCITECO -e '<^TUa Qa:; Qa=>']], 0, stdout, ignore) +AT_CHECK([[printf "ТЕСТ" | $SCITECO -e '<^TUa Qa:; Qa=>']], 0, stdout, ignore) AT_FAIL_IF([test `$GREP -v "^Info:" stdout | wc -l` -ne 4], 0, ignore, ignore) AT_CLEANUP |