Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- COMMAND: /opt/ltp/bin/ltp-pan -e -S -a 2734 -n 2734 -p -f /tmp/ltp-lhXV8C6vEw/alltests -l /opt/ltp/results/LTP_RUN_ON-2017_07_17-18h_47m_00s.log -C /opt/ltp
- /output/LTP_RUN_ON-2017_07_17-18h_47m_00s.failed -T /opt/ltp/output/LTP_RUN_ON-2017_07_17-18h_47m_00s.tconf
- LOG File: /opt/ltp/results/LTP_RUN_ON-2017_07_17-18h_47m_00s.log
- FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2017_07_17-18h_47m_00s.failed
- TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-2017_07_17-18h_47m_00s.tconf
- Running tests.......
- <<<test_start>>>
- tag=su01 stime=1500317225
- cmdline="export TCbin=$LTPROOT/testcases/bin;su01"
- contacts=""
- analysis=exit
- <<<test_output>>>
- incrementing stop
- This script contains bashism that needs to be fixed!
- Machine type is: linaro-linux
- usermod: group 'trusted' does not exist
- usermod: group 'trusted' does not exist
- Starting 'su' Testing
- TEST: su with no parameters and correct password
- spawn /bin/su -c whoami
- Password:
- root
- spawn su -c /bin/su root -c "echo \$TEST_LINE > /tmp/TEST_ENV_FILE_ROOT"
- Password:
- /bin/su with correct password & enviroment check ( PASSED )
- TEST: su with no parameters and incorrect password
- spawn /bin/su -c whoami
- Password:
- su: Authentication failure
- displayed_error=1
- exit_code=1
- pid=2905
- /bin/su with incorrect password ( PASSED )
- TEST: su to root using name parameter and correct password.
- spawn /bin/su -l root -c whoami
- Password:
- root
- spawn /bin/sh -c /bin/su -l root -c "echo "\$TEST_LINE > /tmp/TEST_ENV_FILE_ROOT2""
- Password: /bin/su -l root with correct password & enviroment check ( PASSED )
- TEST: su to root with name parameter and incorrect password.
- spawn /bin/su -l root -c whoami
- Password:
- su: Authentication failure
- /bin/su -l root with incorrect password ( PASSED )
- TEST: su to user1 with name parameter and correct password.
- spawn /bin/su -l su_usr2 -c whoami
- Password:
- mesg: cannot open /dev/pts/5: Permission denied
- su_usr2
- spawn /bin/sh -c /bin/su -l su_usr2 -c "echo "\$TEST_LINE > /tmp/TEST_ENV_FILE_USER""
- Password: /bin/su -l su_usr2 with correct password & enviroment check ( PASSED )
- TEST: su to user1 with name parameter and incorrect password.
- spawn /bin/su -l su_usr2 -c whoami
- Password:
- su: Authentication failure
- /bin/su -l su_usr2 with incorrect password ( PASSED )
- TEST: su to user1 with the user1 password expired.
- spawn /bin/su -l root -c passwd -e su_usr2
- Password:
- passwd: password expiry information changed.
- spawn /bin/su -l su_usr2 -c whoami
- Password:
- You are required to change your password immediately (administrator enforced)
- su: Authentication token manipulation error
- i_am_correct=0
- exit_code=1
- pid=2954
- /bin/su -l su_usr2 with expired correct password ( FAILED )
- spawn /bin/su -l root -c passwd su_usr2
- Password:
- New password: <<<execution_status>>>
- initiation_status="ok"
- duration=19 termination_type=exited termination_id=1 corefile=no
- cutime=30 cstime=88
- <<<test_end>>>
- INFO: ltp-pan reported some tests FAIL
- LTP Version: 20170516
- ###############################################################
- Done executing testcases.
- LTP Version: 20170516
- ###############################################################
- root@hikey:/opt/ltp#
Add Comment
Please, Sign In to add comment