OSDN Git Service
(root)
/
android-x86
/
external-parted.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5263b7
)
tests: don't infloop for manual test invocation with unrecognized option
author
Jim Meyering
<meyering@redhat.com>
Wed, 11 Mar 2009 17:36:04 +0000
(18:36 +0100)
committer
Jim Meyering
<meyering@redhat.com>
Fri, 24 Jul 2009 13:04:42 +0000
(15:04 +0200)
* tests/test-lib.sh: Diagnose an invalid option.
tests/test-lib.sh
patch
|
blob
|
history
diff --git
a/tests/test-lib.sh
b/tests/test-lib.sh
index
8d6ba7f
..
808b794
100644
(file)
--- a/
tests/test-lib.sh
+++ b/
tests/test-lib.sh
@@
-51,6
+51,7
@@
do
exit 0 ;;
-v|--v|--ve|--ver|--verb|--verbo|--verbos|--verbose)
verbose=t; shift ;;
+ *) echo "invalid option: $1"; exit 1;;
esac
done