public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 1/7] testcases: fs_bind: fix hanging of testscript
@ 2011-06-30  6:19 Andrew Chen
  2011-06-30  6:19 ` [LTP] [PATCH 2/7] testcases: cgroup: correct wrong variable used in the testscript Andrew Chen
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: Andrew Chen @ 2011-06-30  6:19 UTC (permalink / raw)
  To: ltp-list; +Cc: ypchen

From: Andrew Chen <ypchen@faraday-tech.com>

Busybox's xargs doesn't recongize the --max-args option. Use -n instead.

Signed-off-by: Andrew Chen <ypchen@faraday-tech.com>
---
 ltp-full-20101031/testscripts/test_fs_bind.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ltp-full-20101031/testscripts/test_fs_bind.sh b/ltp-full-20101031/testscripts/test_fs_bind.sh
index 9ab533a..6b986dc 100755
--- a/ltp-full-20101031/testscripts/test_fs_bind.sh
+++ b/ltp-full-20101031/testscripts/test_fs_bind.sh
@@ -318,7 +318,7 @@ restore_mounts()
 	# new mounts around and will never remove mounts outside the test
 	# directory
 	( while grep_mounts ; do
-		grep_mounts | awk '{print $3}' | xargs -r --max-args=1 umount -l
+		grep_mounts | awk '{print $3}' | xargs -r -n 1 umount -l
 	done ) >& /dev/null
 
 	# mount list and exit with 0
-- 
1.6.5


------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2011-10-13 13:57 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-30  6:19 [LTP] [PATCH 1/7] testcases: fs_bind: fix hanging of testscript Andrew Chen
2011-06-30  6:19 ` [LTP] [PATCH 2/7] testcases: cgroup: correct wrong variable used in the testscript Andrew Chen
2011-07-11 14:45   ` Cyril Hrubis
2011-07-11 16:07     ` Cyril Hrubis
2011-06-30  6:19 ` [LTP] [PATCH 3/7] testcases: controllers: fix wrong cpu number calculated Andrew Chen
2011-07-21 16:57   ` Cyril Hrubis
2011-06-30  6:19 ` [LTP] [PATCH 4/7] testcases: memcg_function: set hugepage size to zero when no hugepage support Andrew Chen
2011-06-30  6:19 ` [LTP] [PATCH 5/7] runltp: precise pattern matching for skipped testcases Andrew Chen
2011-06-30  6:19 ` [LTP] [PATCH 6/7] runtest/fs: change parameters of growfiles Andrew Chen
2011-07-29 11:45   ` Cyril Hrubis
     [not found]     ` <CANj_sbC3+eO+6=_S4MO8Wr1o6b7Oo9mbX=EehBFaQb6dj=xOww@mail.gmail.com>
     [not found]       ` <CAGH67wROk8oOO85TVCZxfNofy2M1NdQXPTkuEHezgUJy8Jx-zw@mail.gmail.com>
2011-08-10 12:12         ` Cyril Hrubis
2011-08-10 12:16       ` Cyril Hrubis
2011-09-08 12:09         ` Cyril Hrubis
     [not found]           ` <1316411646-1886-1-git-send-email-yanpai.chen@gmail.com>
     [not found]             ` <CANj_sbD=c+R4YVwqh1tSw-4LanVimNos5rFc0tU872ouCLf-8g@mail.gmail.com>
2011-10-13 14:00               ` [LTP] [PATCH 6/7 V2] " Cyril Hrubis
2011-06-30  6:19 ` [LTP] [PATCH 7/7] testcases: syscalls: close file descriptors before unlinking Andrew Chen
2011-07-11 16:45   ` Cyril Hrubis
2011-07-21 17:01   ` Cyril Hrubis
     [not found]     ` <CANj_sbBZGdHond=dOHRKtgBrEHYiK8-iQD=hM-iv3ZU1J5_aYQ@mail.gmail.com>
     [not found]       ` <CANj_sbB1KoHxDCBEnGGX66LihMY-00N+mj+rv-4zPYA7XpkssQ@mail.gmail.com>
     [not found]         ` <20110727121238.GB20610@saboteur.suse.cz>
     [not found]           ` <20110728180131.GA3307@saboteur.suse.cz>
     [not found]             ` <CANj_sbCv=TKkRuaPmfWOBz4qArC1eKEuCoDiMb2oLrWCOf_GWQ@mail.gmail.com>
2011-08-10 12:10               ` Cyril Hrubis
     [not found]                 ` <1316411928-1941-1-git-send-email-yanpai.chen@gmail.com>
2011-10-13 13:45                   ` [LTP] [PATCH] testcases: syscalls: use tst_tmpdir() interface Cyril Hrubis
2011-07-21 16:55 ` [LTP] [PATCH 1/7] testcases: fs_bind: fix hanging of testscript Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox