When check.sh was modified to run ngspice/sed without && in between, the change was not applied to the OpenBSD/SunOS branch. This leads to a test failure when ngspice returns nonzero, as in xpressn-1.cir, xpressn-2.cir, xpressn-3.cir, and bxpressn-1.cir.
Attached patch makes the code like the Linux code, and all tests now pass on OpenBSD.
This commit is contained in:
parent
c8082072fb
commit
f40f5a5ae4
|
|
@ -40,8 +40,8 @@ case $HOST_TYPE in
|
|||
rm -f $testname.test_tmp $testname.out_tmp
|
||||
;;
|
||||
FreeBSD*|SunOS*|OpenBSD*)
|
||||
$SPICE --batch $testdir/$testname.cir >$testname.test &&\
|
||||
sed -e '/^$/d' $testname.test | egrep -v "$FILTER" > $testname.test_tmp &&\
|
||||
$SPICE --batch $testdir/$testname.cir >$testname.test
|
||||
sed -e '/^$/d' $testname.test | egrep -v "$FILTER" > $testname.test_tmp
|
||||
sed -e '/^$/d' $testdir/$testname.out | egrep -v "$FILTER" > $testname.out_tmp
|
||||
if diff -b -w $testname.out_tmp $testname.test_tmp; then
|
||||
rm $testname.test $testname.test_tmp $testname.out_tmp
|
||||
|
|
|
|||
Loading…
Reference in New Issue