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 81cedaf5dcdb354785924db7096982e7f2b905d4..570cf0cef0ef76aeeb831f9ed74ed87d71518a9a 100644 (file)
@@ -1,3 +1,7 @@
+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.
index 34a490c52d6c3405531a64b917e194b57872a84d..c5ee7771f319f77c981773103ecdee6bb1bbde2f 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}