The expect script /opt/ltp/testcases/bin/su01_s1 expects an environment
variable PASSWD, but /opt/ltp/testcases/bin/su01 doesn't setup such a
variable.

Since this test always fails for me on the RHEL machines I run this on,
I wanted to ask if the LTP test framework itself passed this environment
variable to the tests or is there something wrong with this test.

My test output is normally like this:

    <<<test_start>>>
    tag=su01 stime=1305746477
    cmdline="export TCbin=$LTPROOT/testcases/bin;su01"
    contacts=""
    analysis=exit
    <<<test_output>>>
    Machine type is: redhat-linux

    userdel: user su_usr1 does not exist
    userdel: user su_usr2 does not exist
    YOU NEED TO SET ENVIROMENT VARIABLE PASSWD.
    <<<execution_status>>>
    initiation_status="ok"
    duration=4 termination_type=exited termination_id=1 corefile=no
    cutime=13 cstime=35
    <<<test_end>>>


TIA,
  Sandip

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to