public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Subrata Modak <subrata@linux.vnet.ibm.com>
To: "Serge E. Hallyn" <serue@us.ibm.com>
Cc: LTP <ltp-list@lists.sourceforge.net>
Subject: Re: [LTP] [PATCH 1/1] netns: don't run sysfsview testcase
Date: Wed, 26 Aug 2009 11:57:54 +0530	[thread overview]
Message-ID: <1251268075.4895.9.camel@subratamodak.linux.ibm.com> (raw)
In-Reply-To: <20090826055713.GA22281@us.ibm.com>

On Wed, 2009-08-26 at 00:57 -0500, Serge E. Hallyn wrote:
> It can't pass right now, and leaves the system in a bad state on
> its inevitable failure.
> 
> Leave the testcase there though since one day we will hopefully
> support it.
> 
> Signed-off-by: Serge Hallyn <serge@us.ibm.com>

Ok. Merged.

Regards--
Subrata

> ---
>  testcases/kernel/containers/netns/runnetnstest.sh |   25 ++++++++++++--------
>  1 files changed, 15 insertions(+), 10 deletions(-)
> 
> diff --git a/testcases/kernel/containers/netns/runnetnstest.sh b/testcases/kernel/containers/netns/runnetnstest.sh
> index 8a52e7b..e5ae694 100755
> --- a/testcases/kernel/containers/netns/runnetnstest.sh
> +++ b/testcases/kernel/containers/netns/runnetnstest.sh
> @@ -90,16 +90,21 @@ else
>  fi
>  echo
> 
> -sysfsview
> -rc=$?
> -if [ $rc -ne 0 ]; then
> -    exit_code=$rc
> -    errmesg="$errmesg sysfsview: return code is $exit_code ; "
> -    echo $errmesg
> -else
> -   echo "sysfsview: PASS"
> -fi
> -echo
> +# sysfs tagging does not exist, so this test can't pass.  In
> +# fact at the moment it fails when mount -t sysfs none /sys is
> +# refused, fails in a bad state, leaving the system hard to
> +# reboot.  Revisit enabling this test when per-container sysfs
> +# views are supported.
> +#sysfsview
> +#rc=$?
> +#if [ $rc -ne 0 ]; then
> +#    exit_code=$rc
> +#    errmesg="$errmesg sysfsview: return code is $exit_code ; "
> +#    echo $errmesg
> +#else
> +#   echo "sysfsview: PASS"
> +#fi
> +#echo
> 
>  par_chld_ftp
>  rc=$?


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

      reply	other threads:[~2009-08-26  6:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-26  5:57 [LTP] [PATCH 1/1] netns: don't run sysfsview testcase Serge E. Hallyn
2009-08-26  6:27 ` Subrata Modak [this message]

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=1251268075.4895.9.camel@subratamodak.linux.ibm.com \
    --to=subrata@linux.vnet.ibm.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=serue@us.ibm.com \
    /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