Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge git://repo.or.cz/git-gui
[gitweb.git]
/
t
/
t0040-parse-options.sh
diff --git
a/t/t0040-parse-options.sh
b/t/t0040-parse-options.sh
index 6309aed4511738b2f68e16974a5a5ceadf2617e5..03dbe00102626e05c37e45d8a3b1364b99644942 100755
(executable)
--- a/
t/t0040-parse-options.sh
+++ b/
t/t0040-parse-options.sh
@@
-78,6
+78,13
@@
test_expect_success 'long options' '
test_cmp expect output
'
+test_expect_success 'missing required value' '
+ test-parse-options -s;
+ test $? = 129 &&
+ test-parse-options --string;
+ test $? = 129
+'
+
cat > expect << EOF
boolean: 1
integer: 13