1
1

fix typos in help and make more general

This commit was SVN r2473.
Этот коммит содержится в:
Laura Casswell 2004-09-03 14:23:08 +00:00
родитель 1049bf79ca
Коммит 22bc29e50a

Просмотреть файл

@ -22,13 +22,29 @@ umask 007
if ("x$1" == "x") then
./parse_hostfile;
else if ("$1" == "parse_hostfile") then
./parse_hostfile;
else
echo "correct use: "
echo " run (to run all class tests)"
echo "or run < parse_hostfile >"
exit -1
else
foreach target ($argv)
switch ($target)
case "all"
./parse_hostfile
breaksw
case "parse_hostfile":
./$target
breaksw
case "help":
echo "correct use: "
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