$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
