openbsd-ports/cad/ngspice/patches/patch-tests_bin_check_sh

13 lines
552 B
Plaintext

$OpenBSD: patch-tests_bin_check_sh,v 1.2 2013/01/10 12:19:50 bentley Exp $
--- tests/bin/check.sh.orig Wed Jan 2 08:33:37 2013
+++ tests/bin/check.sh Thu Jan 10 00:26:36 2013
@@ -47,7 +47,7 @@ case $HOST_TYPE in
fi
rm -f $testname.test_tmp $testname.out_tmp
;;
- SunOS*)
+ SunOS*|OpenBSD*)
$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