summaryrefslogtreecommitdiff
path: root/src/appl/user_user/t_user2user.py
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2018-04-03 19:36:00 +0000
committerCy Schubert <cy@FreeBSD.org>2018-04-03 19:36:00 +0000
commitb0e4d68d5124581ae353493d69bea352de4cff8a (patch)
tree43300ec43e83eccd367fd76fdfdefba2dcd7d8f4 /src/appl/user_user/t_user2user.py
parent33a9b234e7087f573ef08cd7318c6497ba08b439 (diff)
Notes
Diffstat (limited to 'src/appl/user_user/t_user2user.py')
-rwxr-xr-xsrc/appl/user_user/t_user2user.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/appl/user_user/t_user2user.py b/src/appl/user_user/t_user2user.py
index 8bdef8e07b90..2a7d03f8dc87 100755
--- a/src/appl/user_user/t_user2user.py
+++ b/src/appl/user_user/t_user2user.py
@@ -10,9 +10,9 @@ for realm in multipass_realms():
else:
srv_output = realm.start_server(['./uuserver', '9999'], 'Server started')
- output = realm.run(['./uuclient', hostname, 'testing message', '9999'])
- if 'uu-client: server says \"Hello, other end of connection.\"' not in output:
- fail('Message not echoed back.')
+ msg = 'uu-client: server says "Hello, other end of connection."'
+ realm.run(['./uuclient', hostname, 'testing message', '9999'],
+ expected_msg=msg)
success('User-2-user test programs')