public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH] runltp: suppress the out message when creating loop device
@ 2013-11-24 10:56 Wanlong Gao
  2013-11-24 17:15 ` Mike Frysinger
  0 siblings, 1 reply; 3+ messages in thread
From: Wanlong Gao @ 2013-11-24 10:56 UTC (permalink / raw)
  To: LTP

Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
---
 runltp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runltp b/runltp
index 63c625f..e6fc34a 100755
--- a/runltp
+++ b/runltp
@@ -956,7 +956,7 @@ main()
 create_block()
 {
     #create a block device
-    dd if=/dev/zero of=${TMP}/test.img bs=1kB count=20480
+    dd if=/dev/zero of=${TMP}/test.img bs=1kB count=20480 &>/dev/null
     if [ $? -ne 0 ]; then
         echo "Failed to create loopback device image, please check disk space and re-run"
         return 1
-- 
1.8.5.rc3


------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

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

end of thread, other threads:[~2013-11-25  1:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-24 10:56 [LTP] [PATCH] runltp: suppress the out message when creating loop device Wanlong Gao
2013-11-24 17:15 ` Mike Frysinger
2013-11-25  0:31   ` Wanlong Gao

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