Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
conditional markdown preprocessing
[gitweb.git]
/
t
/
t0040-parse-options.sh
diff --git
a/t/t0040-parse-options.sh
b/t/t0040-parse-options.sh
index cebc77fab0b254fc2e6f63e7eb68956b2b3dec9c..705a136ed92c99cda688f5e267204e59b0e532a9 100755
(executable)
--- a/
t/t0040-parse-options.sh
+++ b/
t/t0040-parse-options.sh
@@
-399,4
+399,11
@@
test_expect_success 'GIT_TEST_DISALLOW_ABBREVIATED_OPTIONS works' '
test-tool parse-options --ye
'
+test_expect_success '--end-of-options treats remainder as args' '
+ test-tool parse-options \
+ --expect="verbose: -1" \
+ --expect="arg 00: --verbose" \
+ --end-of-options --verbose
+'
+
test_done