[hackers] [scc] Accept list of tests in update.sh || Roberto E. Vargas Caballero
commit 398df28c10917d7e9e07f6d02c234a582ac94122
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Fri Oct 16 11:14:26 2015 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Fri Oct 16 11:15:51 2015 +0200
Accept list of tests in update.sh
diff --git a/cc1/tests/update.sh b/cc1/tests/update.sh
index c2c882c..60a3f66 100755
--- a/cc1/tests/update.sh
+++ b/cc1/tests/update.sh
_AT_@ -7,20 +7,15 @@ update()
printf ".\nw\n") | ed -s $1
}
-
case $# in
-1)
- update $1
- exit
- ;;
-*)
- echo "usage: update.sh [test]" >&2
+0)
+ echo "usage: update.sh test ..." >&2
exit 1
;;
+1)
+ for i
+ do
+ update $1
+ done
+ ;;
esac
-
-
-for i in *.c
-do
- update $i
-done
Received on Fri Oct 16 2015 - 11:16:43 CEST
This archive was generated by hypermail 2.3.0
: Fri Oct 16 2015 - 11:24:10 CEST