fix typos in help and make more general
This commit was SVN r2473.
Этот коммит содержится в:
родитель
1049bf79ca
Коммит
22bc29e50a
@ -22,13 +22,29 @@ umask 007
|
||||
|
||||
if ("x$1" == "x") then
|
||||
./parse_hostfile;
|
||||
else if ("$1" == "parse_hostfile") then
|
||||
./parse_hostfile;
|
||||
else
|
||||
foreach target ($argv)
|
||||
switch ($target)
|
||||
case "all"
|
||||
./parse_hostfile
|
||||
breaksw
|
||||
case "parse_hostfile":
|
||||
./$target
|
||||
breaksw
|
||||
case "help":
|
||||
echo "correct use: "
|
||||
echo " run (to run all class tests)"
|
||||
echo "or run < parse_hostfile >"
|
||||
exit -1
|
||||
echo " run_tests help (this message)"
|
||||
echo " run_tests all (to run all class tests)"
|
||||
echo "or run_tests < parse_hostfile >"
|
||||
break
|
||||
breaksw
|
||||
default:
|
||||
echo "There is no test program <$target> to run."
|
||||
echo " run_tests all (to run all class tests)"
|
||||
echo "or run_tests < parse_hostfile >"
|
||||
break
|
||||
endsw
|
||||
end
|
||||
endif
|
||||
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user