Commit 41cf1fc7 authored by Niels Möller's avatar Niels Möller
Browse files

Rewrote !command-expressions as an if

expression, to work with /bin/sh.

Rev: src/testsuite/lsh-7-test:1.2
parent d96b772d
......@@ -9,5 +9,9 @@ fi
. $srcdir/functions.sh
spawn_lshd && ! ../lsh -nt --host-db=/dev/null $LSH_FLAGS -p $PORT localhost true \
&& test_success
spawn_lshd && \
if ../lsh -nt --host-db=/dev/null $LSH_FLAGS -p $PORT localhost true ; then
test_fail
else
test_success
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment