Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@hikey:/opt/ltp# ./runltp -f admin_tools -q -p
- INFO: creating /opt/ltp/results directory
- Checking for required user/group ids
- 'nobody' user id and group found.
- 'bin' user id and group found.
- 'daemon' user id and group found.
- Users group found.
- Sys group found.
- Required users/groups exist.
- no big block device was specified on commandline.
- Tests which require a big block device are disabled.
- You can specify it with option -z
- INFO: Test start time: Mon Jul 17 15:41:11 UTC 2017
- COMMAND: /opt/ltp/bin/ltp-pan -q -e -S -a 2917 -n 2917 -p -f /tmp/ltp-deWf3Oz5e2/alltests -l /opt/ltp/results/LTP_RUN_ON-2017_07_17-15h_41m_08s.log -C /opt
- /ltp/output/LTP_RUN_ON-2017_07_17-15h_41m_08s.failed -T /opt/ltp/output/LTP_RUN_ON-2017_07_17-15h_41m_08s.tconf
- LOG File: /opt/ltp/results/LTP_RUN_ON-2017_07_17-15h_41m_08s.log
- FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-2017_07_17-15h_41m_08s.failed
- TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-2017_07_17-15h_41m_08s.tconf
- Running tests.......
- 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=3019
- /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
- /bin/su -l su_usr2 with expired correct password ( FAILED )
- spawn /bin/su -l root -c passwd su_usr2
- Password:
- New password: INFO: ltp-pan reported some tests FAIL
- LTP Version: 20170516
- INFO: Test end time: Mon Jul 17 15:41:31 UTC 2017
- ###############################################################
- Done executing testcases.
- LTP Version: 20170516
- ###############################################################
- root@hikey:/opt/ltp#
Add Comment
Please, Sign In to add comment