sim: bfin: run-tests.sh: fix typo in usage exit
authorMike Frysinger <vapier@gentoo.org>
Mon, 24 Jun 2013 01:59:10 +0000 (01:59 +0000)
committerMike Frysinger <vapier@gentoo.org>
Mon, 24 Jun 2013 01:59:10 +0000 (01:59 +0000)
sim/testsuite/sim/bfin/ChangeLog
sim/testsuite/sim/bfin/run-tests.sh

index 81cedaf..570cf0c 100644 (file)
@@ -1,5 +1,9 @@
 2013-06-23  Mike Frysinger  <vapier@gentoo.org>
 
+       * run-tests.sh (usage): Fix typo in exit.
+
+2013-06-23  Mike Frysinger  <vapier@gentoo.org>
+
        * se_all32bitopcodes.S (se_all_next_insn): Skip debug insn opcodes.
 
 2013-06-23  Mike Frysinger  <vapier@gentoo.org>
index 34a490c..c5ee777 100644 (file)
@@ -12,7 +12,7 @@ usage() {
          -rh <ip>     Run on board ip
          -j <num>     Num jobs to run
        EOF
-       exit ${0:-1}
+       exit ${1:-1}
 }
 
 : ${MAKE:=make}