public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Sandip Bhattacharya <sandipb@yahoo-inc.com>
To: ltp-list@lists.sourceforge.net
Subject: [LTP] su01 test case failure
Date: Tue, 24 May 2011 19:28:20 +0530	[thread overview]
Message-ID: <4DDBB97C.1050202@yahoo-inc.com> (raw)

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
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

                 reply	other threads:[~2011-05-24 14:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DDBB97C.1050202@yahoo-inc.com \
    --to=sandipb@yahoo-inc.com \
    --cc=ltp-list@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox