nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1db5fc6
)
Fix tests.sh to not forget some alternatives.
author
Jean Privat
<jean@pryen.org>
Mon, 19 Jan 2009 22:12:15 +0000
(17:12 -0500)
committer
Jean Privat
<jean@pryen.org>
Mon, 19 Jan 2009 22:12:15 +0000
(17:12 -0500)
Negative-only alternatives are now included.
tests/tests.sh
patch
|
blob
|
history
diff --git
a/tests/tests.sh
b/tests/tests.sh
index
68dd164
..
1b45228
100755
(executable)
--- a/
tests/tests.sh
+++ b/
tests/tests.sh
@@
-55,7
+55,7
@@
nok=""
echo "<tr><td>$MARK</td>" >> $HTM
for ii in "$@"; do
- for alt in "" `sed -n 's/.*#\(alt[0-9]*\)#.*/\1/p' "$ii" | sort -u`; do
+ for alt in "" `sed -n 's/.*#!*\(alt[0-9]*\)#.*/\1/p' "$ii" | sort -u`; do
f=`basename "$ii" .nit`
d=`dirname "$ii"`
ff="$f"