git.shiar.nl
/
barcat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
parse options to regress.t
[barcat.git]
/
t
/
regress.t
diff --git
a/t/regress.t
b/t/regress.t
index 5daf496eb2a91b1ee916c16c8744fe9c3b2eaaf5..099b944632d4166f22891e1bdc55fec56a727907 100755
(executable)
--- a/
t/regress.t
+++ b/
t/regress.t
@@
-7,6
+7,13
@@
test_count=0
COLUMNS=40
diffcmd='diff --unchanged-line-format= --old-line-format=<%L --new-line-format=>%L'
COLUMNS=40
diffcmd='diff --unchanged-line-format= --old-line-format=<%L --new-line-format=>%L'
+for option in "$@"
+do
+ case "$option" in
+ -*) echo "Usage: $0 [<files>...]"; exit 64;;
+ esac
+done
+
for candidate in ${@:-t*.in}
do
test_count=$((test_count+1))
for candidate in ${@:-t*.in}
do
test_count=$((test_count+1))