diff --git a/tests/su/02/env_special-options_-p.exp b/tests/su/02/env_special-options_-p.exp index 3a7143c6..85656da3 100755 --- a/tests/su/02/env_special-options_-p.exp +++ b/tests/su/02/env_special-options_-p.exp @@ -44,8 +44,8 @@ send "echo \"PATH=\\\"\$PATH\\\"\"\r" expect "PATH=\"/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games\"\r" expect "$ " -send "echo \"'\$HOME'\$USER'\$LOGNAME'\$SHELL'\"\r" -expect "'/root'root'root'/bin/bash'\r" +send "echo \"'\$USER'\$LOGNAME'\$SHELL'\"\r" +expect "'root'root'/bin/bash'\r" expect "$ " send "exit\r"