test: cleaned up stty get/set in tests
This commit is contained in:
parent
2603b6f139
commit
2b6bd4fb5c
4 changed files with 9 additions and 8 deletions
|
|
@ -294,7 +294,6 @@ function testrun()
|
|||
new "start restconf daemon"
|
||||
# inline of start_restconf, cant make quotes to work
|
||||
echo "sudo -u $wwwstartuser -s $clixon_restconf $RCLOG -D $DBG -f $cfg -R $RESTCONFIG1"
|
||||
STTYSETTINGS=$(stty -g) # reset in wait_restconf
|
||||
sudo -u $wwwstartuser -s $clixon_restconf $RCLOG -D $DBG -f $cfg -R "$RESTCONFIG1" </dev/null &>/dev/null &
|
||||
if [ $? -ne 0 ]; then
|
||||
err1 "expected 0" "$?"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue