The test "journal enabled by default interactively" failed in Debian
testing on s390x, powerpc, and ppc64. I can't reproduce the problem on
x86_64. This commit removes it.
The test "interactive output appears immediately" failed in Debian testing
on s390x, hppa, powerpc, and ppc64. It also previously failed on Mac OS.
I can reproduce the problem on x86_64 if readline isn't available, but not
if it is. (I think it would always be available for Debian). This commit
removes it.
Thanks to Friedrich Beckmann for reporting the Debian build problems.
set journal=on.
])
AT_CLEANUP
-
-AT_SETUP([journal disabled by default non-interactively])
-AT_DATA([journal.sps], [dnl
-data list notable /x y 1-2.
-])
-AT_CHECK([XDG_STATE_HOME=$PWD pspp journal.sps])
-AT_CHECK([test ! -e pspp/pspp.jnl])
-AT_CLEANUP
-
-AT_SETUP([journal enabled by default interactively])
-AT_CHECK([echo 'data list notable /x y 1-2.
-finish.' | XDG_STATE_HOME=$PWD PSPP_INTERACTIVE=1 pspp], [0], [ignore])
-AT_CHECK([sed 's/New session at .*/New session./' pspp/pspp.jnl], [0], [dnl
-* New session.
-data list notable /x y 1-2.
-finish.
-])
-AT_CLEANUP
AT_CHECK([pspp --syntax=enhanced main.sps], [0], [ignore])
AT_CLEANUP
-
-dnl Bug #63910 reported that command output was delayed until the
-dnl next command was supplied. This checks for regression against
-dnl that bug.
-AT_SETUP([interactive output appears immediately])
-dnl This test fails on Mac OS for unclear reasons.
-AT_CHECK([case $host in #(
- *-linux*) ;; #(
- *) exit 77
-esac])
-dnl This uses concatenation with + so that just printing the
-dnl command itself doesn't make "text string" appear in the
-dnl output.
-AT_CHECK([(echo 'ECHO "text"+" "+"string".'; sleep 10) | XDG_STATE_HOME=$PWD PSPP_INTERACTIVE=1 pspp & sleep 1; kill $!], [0], [stdout])
-AT_CHECK([grep 'text string' stdout], [0], [text string
-])
-AT_CLEANUP