@@ -70,10 +70,11 @@ def test_session_record_to_file_locking_enabled(self):
7070 sessionclass .generate_config (SYSTEM_TLOG_REC_SESSION_CONF )
7171 shell = ssh_pexpect (self .user , 'Secret123' , 'localhost' )
7272 shell .sendline ('echo {}_shell0' .format (myname ))
73- shell .sendline ("tlog-rec-session -c \" echo {}_nested_session | tr '[:lower:]' '[:upper:]'\" >/dev/null" .format (myname ))
73+ shell .sendline ('stty -echo' )
74+ shell .sendline ("tlog-rec-session -c 'echo {}_nested_session' >/dev/null" .format (myname ))
7475 shell .sendline ('exit' )
7576 check_recording (shell , "{}_shell0" .format (myname ), logfile )
76- check_recording_missing (shell , "{}_nested_session" .format (myname ). upper () , logfile )
77+ check_recording_missing (shell , "{}_nested_session" .format (myname ), logfile )
7778 shell .close ()
7879
7980 @pytest .mark .tier1
@@ -87,10 +88,11 @@ def test_session_record_to_file_locking_disabled(self):
8788 sessionclass .generate_config (SYSTEM_TLOG_REC_SESSION_CONF )
8889 shell = ssh_pexpect (self .user , 'Secret123' , 'localhost' )
8990 shell .sendline ('echo {}_shell0' .format (myname ))
90- shell .sendline ("tlog-rec-session -c \" echo {}_nested_session | tr '[:lower:]' '[:upper:]'\" >/dev/null" .format (myname ))
91+ shell .sendline ('stty -echo' )
92+ shell .sendline ("tlog-rec-session -c 'echo {}_nested_session' >/dev/null" .format (myname ))
9193 shell .sendline ('exit' )
9294 check_recording (shell , "{}_shell0" .format (myname ))
93- check_recording (shell , "{}_nested_session" .format (myname ). upper () )
95+ check_recording (shell , "{}_nested_session" .format (myname ))
9496 shell .close ()
9597
9698 @pytest .mark .tier1
0 commit comments