public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: "Mitani" <mitani@ryobi.co.jp>
To: ltp-list@lists.sourceforge.net
Subject: [LTP] "BindMounts" test failure
Date: Thu, 17 Dec 2009 15:08:30 +0900	[thread overview]
Message-ID: <002701ca7edf$5b1e2730$115a7590$@co.jp> (raw)

Hi,

I ran "runltp" with "ltp-2009-12-16" cvs.
And I found the following failure in "BindMounts" testcase:

------------
sh: /opt/ltp/testscripts/test_fs_bind.sh: Permission denied
------------

When I added execution permission and tested this testcase, the 
following errors occurred.

------------
ls: /opt/ltp/testcases/kernel/fs/fs_bind/move/test*: No such file or
directory
ls: /opt/ltp/testcases/kernel/fs/fs_bind/bind/test*: No such file or
directory
ls: /opt/ltp/testcases/kernel/fs/fs_bind/rbind/test*: No such file or
directory
ls: /opt/ltp/testcases/kernel/fs/fs_bind/regression/test*: No such file or
directory
------------

This error is caused by following:
 (1) Execution files haven't permissions.
 (2) "${LTPROOT}" directory isn't the current directory in which
     "make install" executed. 
     By default, "${LTPROOT}" directory is "/opt/ltp".
 (3) ".../ltp-2009-12-16/testcases/kernel/fs/fs_bind/" directory does exist,
     but "/opt/ltp/testcases/kernel/fs/fs_bind/" directory doesn't exist.
      (I want to suggest using "/opt/ltp/testcases/bin/fs_bind/"
      instead of "/opt/ltp/testcases/kernel/fs/fs_bind/".)

Then, I think that it requires following three modifications to run
"BindMounts" test exactly:

 (1) Add the execution permissions to "${LTPROOT}/testscripts" directory
     when installation.
 (2) Deploy following four directories under the "${LTPROOT}/testcases/bin"
     directory when installation.
     "./fs_bind/move/"
     "./fs_bind/bind/"
     "./fs_bind/rbind/"
     "./fs_bind/regression/"
 (3) Apply the following patch:
============
--- test_fs_bind.sh	2008-06-29 04:30:19.000000000 +0900
+++ test_fs_bind.sh.new	2009-12-17 11:32:27.000000000 +0900
@@ -60,7 +60,7 @@
 		LTPROOT="${PWD}"
 	fi
 	
-	FS_BIND_ROOT="${LTPROOT}/testcases/kernel/fs/fs_bind"
+	FS_BIND_ROOT="${LTPROOT}/testcases/bin/fs_bind"
 
 	total=0 # total number of tests
 	for dir in "${test_dirs[@]}" ; do
============


Regards--


-Tomonori Mitani



------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

             reply	other threads:[~2009-12-17  6:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-17  6:08 Mitani [this message]
2009-12-22  3:29 ` [LTP] "BindMounts" test failure Garrett Cooper

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='002701ca7edf$5b1e2730$115a7590$@co.jp' \
    --to=mitani@ryobi.co.jp \
    --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