3 # wrapper for running sslViewer from protClient script.
5 # usage: runProtClient [q] [e errMsg] viewerArgs ...
14 # q and e used here; q used both here and in sslViewer
26 echo specify errMsg with e option
29 set ERR_MSG
= "$argv[1]"
34 set thisArg
= "$argv[1]"
35 set VIEWER_ARGS
= "$VIEWER_ARGS $thisArg"
40 if($OUR_QUIET == 0) then
41 if($EXPECT_ERR == 1) then
45 set cmd
="sslViewer $VIEWER_ARGS $VIEW_QUIET"
46 if($OUR_QUIET == 0) then
50 if($status != $EXPECT_ERR) then
51 if($EXPECT_ERR == 0) then
52 echo @@@@ UNEXPECTED ERROR FROM sslViewer. Aborting.
54 echo @@@ FAILED TO GET EXPECTED ERROR FROM sslViewer. Aborting.