diff options
author | Jeff Bilyk <jbilyk@gmail.com> | 2010-12-14 04:28:45 +0000 |
---|---|---|
committer | Jeff Bilyk <jbilyk@gmail.com> | 2010-12-14 04:28:45 +0000 |
commit | b4829453eff5114487f2859e41c2a8375fc9be62 (patch) | |
tree | 626a1223952d05a1d2ae16720f338a8154981a2a | |
parent | 4e9667c8fe6d40e80271d54d391878344a2a68b2 (diff) | |
download | apts-b4829453eff5114487f2859e41c2a8375fc9be62.tar.bz2 apts-b4829453eff5114487f2859e41c2a8375fc9be62.tar.xz |
apts: fix handling of multiple package test arguments
fix multiple package test arguments
-rwxr-xr-x | apts | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -56,8 +56,8 @@ while [ $# -gt 0 ]; do if [ "$?" == "1" ]; then echo "Testing file for $PACKAGE does not exist" && /bin/sh -e ./tests/generic-apk $PACKAGE >> "$OUTFILE" 2>&1 && echo "$PACKAGE passed tests" && exit 0; # if testing file exists, then keep running - else echo "Testing $PACKAGE apk" && /bin/sh -e ./tests/$PACKAGE $PACKAGE >> "$OUTFILE" 2>&1 && echo "$PACKAGE passed tests" && exit 0; + else echo "Testing $PACKAGE apk" && /bin/sh -e ./tests/$PACKAGE $PACKAGE >> "$OUTFILE" 2>&1 && echo "$PACKAGE passed tests"; fi - i=$(( $i + 1 )) + i=$((i + 1)) shift done |