pkgsrc-wip/dasm/patches/patch-aa
Olaf Seibert e87331e905 Re-add dasm, since it isn't updated in pkgsrc proper. This version
is much newer and more maintained.
2009-12-18 14:20:22 +00:00

28 lines
728 B
Text

$NetBSD: patch-aa,v 1.3 2009/12/18 14:20:22 rhialto Exp $
--- test/run_tests.sh.dist 2009-04-28 22:34:43.000000000 +0200
+++ test/run_tests.sh 2009-04-28 22:35:20.000000000 +0200
@@ -1,2 +1,2 @@
-#!/bin/bash
+#!/bin/sh
@@ -11,8 +11,7 @@
echo "----- $NAME -----"
../bin/dasm $i -f1 -o$NAME.bin -DINEEPROM
# echo "dasm returned $?"
- cmp -s $NAME.bin $NAME.bin.ref
- if [ $? == 0 ]
+ if cmp -s $NAME.bin $NAME.bin.ref
then
echo "------------------------good"
else
@@ -20,8 +19,7 @@
fi
../bin/ftohex 1 $NAME.bin $NAME.hex
# echo "ftohex returned $?"
- cmp -s $NAME.hex $NAME.hex.ref
- if [ $? == 0 ]
+ if cmp -s $NAME.hex $NAME.hex.ref
then
echo "------------------------good"
else