]> granicus.if.org Git - yasm/commitdiff
yapp_test.sh: Unbreak.
authorPeter Johnson <peter@tortall.net>
Thu, 16 Nov 2006 07:49:37 +0000 (07:49 -0000)
committerPeter Johnson <peter@tortall.net>
Thu, 16 Nov 2006 07:49:37 +0000 (07:49 -0000)
svn path=/trunk/yasm/; revision=1687

modules/preprocs/yapp/tests/yapp_test.sh

index a8e255d8f1bee9c68fa7451a14197d0e7395df59..68bb3417afe85d457e9d04333b09726ebeb02b25 100755 (executable)
@@ -34,7 +34,7 @@ do
     fi
 
     # Run within a subshell to prevent signal messages from displaying.
-    sh -c "sed \"s,\./,${srcdir}/,\" ${asm} | ./yasm -e -r yapp | sed \"s,${srcdir}/,./,\" > results/${o} 2>results/${e}" >/dev/null 2>/dev/null
+    sh -c "sed \"s,\./,${srcdir}/,\" ${asm} | ./yasm -e -r yapp | sed \"s,${srcdir}/,./,\" > results/${o} 2>results/${e}" >/dev/null 2>/dev/null
     status=$?
     if test $status -gt 128; then
        # We should never get a coredump!
@@ -64,9 +64,9 @@ do
     else
        echo ${asm} | grep -v err >/dev/null
                if test $? -gt 0; then
-           # YASM detected errors but shouldn't have!
+           # YASM didn't detect errors but should have!
            echo $ECHO_N "E$ECHO_C"
-            eval "failed$failedct='E: ${a} returned an error code!'"
+            eval "failed$failedct='E: ${a} did not return an error code!'"
            failedct=`expr $failedct + 1`
        else
            if diff -w ${og} results/${o} >/dev/null; then