summaryrefslogtreecommitdiff
path: root/test/clitest
diff options
context:
space:
mode:
Diffstat (limited to 'test/clitest')
-rwxr-xr-xtest/clitest4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/clitest b/test/clitest
index 046473566e..d01e235f77 100755
--- a/test/clitest
+++ b/test/clitest
@@ -225,8 +225,8 @@ test_interpret() {
printf "\\n" >> $LOG_FILE # newline
printf "Interpret $main with variable CLASSPATH\\n"
- test_run "(env CLASSPATH=$OUTPUT_DIR \
- printf $main'.main(Array(\"1\"))\n:q' | $INTERPRETER_COMMAND \
+ test_run "(printf $main'.main(Array(\"1\"))\n:q' \
+ | env CLASSPATH=$OUTPUT_DIR $INTERPRETER_COMMAND \
2>> $LOG_FILE 1>> $LOG_FILE)";
printf "\\n" >> $LOG_FILE # newline