ossp-pkg/rc/rc_test.sh 1.7 -> 1.8
--- rc_test.sh 2002/04/11 16:52:45 1.7
+++ rc_test.sh 2002/04/12 19:15:12 1.8
@@ -29,34 +29,43 @@
# Test short options, should fail for false combination usage
./rc -dVehilpsrvxLcfqt samba start sleep=2 restart
+echo "./rc -dVehilpsrvxLcfqt samba start sleep=2 restart"
# Test short options, should succeed
./rc -derv -L /sfw/etc/rc.d/rc.%{RCFILE:s/^all$/*/} -c /sfw/etc/rc.conf -f /sfw/etc/rc.func -t /tmp openssh stop sleep=4 start daily minsize=2097152
+echo; echo "./rc -derv -L /sfw/etc/rc.d/rc.%{RCFILE:s/^all$/*/} -c /sfw/etc/rc.conf -f /sfw/etc/rc.func -t /tmp openssh stop sleep=4 start daily minsize=2097152"
# Test some long options, should fail for false combination usage
./rc --verbose --silent uucp stop sleep=6 start
+echo; echo "./rc --verbose --silent uucp stop sleep=6 start"
./rc --query --silent zebra bing bang
+echo; echo "./rc --query --silent zebra bing bang"
./rc --conf /sfw/rc.conf --locate /sfw/etc/rc.d --query what to enter here
+echo; echo "./rc --conf /sfw/rc.conf --locate /sfw/etc/rc.d --query what to enter here"
# Test minimal set of long options, should succeed
./rc --debug --version rsyncd nothing matters but the version
+echo; echo "./rc --conf /sfw/rc.conf --locate /sfw/etc/rc.d --query what to enter here"
# FIXME these cases are not handled yet by our configuration FIXME #
#./rc --debug --version
-#echo
+#echo; echo "./rc --debug --version"
#./rc --debug --help
-#echo
+#echo; echo "./rc --debug --help"
#./rc --debug --info --verbose
-#echo
+#echo; echo "./rc --debug --info --verbose"
#./rc --conf /etc/rc.conf --debug --info --raw
-#echo
+#echo; echo "./rc --conf /etc/rc.conf --debug --info --raw"
#./rc --conf /sfw/rc.conf --tmp /sfw/RPM/TMP --debug --labels rsyncd
-#echo
+#echo; echo "./rc --conf /sfw/rc.conf --tmp /sfw/RPM/TMP --debug --labels rsyncd"
# FIXME these cases are not handled yet by our configuration FIXME #
./rc --func /sfw/etc/rc.func --print --verbose openssh stop sleep=4 start
+echo; echo "./rc --func /sfw/etc/rc.func --print --verbose openssh stop sleep=4 start"
./rc --func /sfw/etc/rc.func --debug --eval uucp restart
+echo; echo "./rc --func /sfw/etc/rc.func --debug --eval uucp restart"
./rc --conf ./myrc --func /sfw/etc/rc.func --tmp /tmp --debug --silent --exec uucp start
+echo; echo "./rc --conf ./myrc --func /sfw/etc/rc.func --tmp /tmp --debug --silent --exec uucp start"
# Next milestone
#RequireOwner
|
|