From 508796dde527067df112e40a0c88672fb2186bcb Mon Sep 17 00:00:00 2001 From: jmmv Date: Sat, 14 May 2011 17:42:28 +0000 Subject: Instead of doing 'atf_check ... sh -c foo', just do 'atf_check ... -x foo'. --- tests/dev/raidframe/t_raid.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/dev/raidframe') diff --git a/tests/dev/raidframe/t_raid.sh b/tests/dev/raidframe/t_raid.sh index 0380e1c9d8d..09d091df36f 100644 --- a/tests/dev/raidframe/t_raid.sh +++ b/tests/dev/raidframe/t_raid.sh @@ -1,4 +1,4 @@ -# $NetBSD: t_raid.sh,v 1.7 2011/03/01 22:52:54 riz Exp $ +# $NetBSD: t_raid.sh,v 1.8 2011/05/14 17:42:28 jmmv Exp $ # # Copyright (c) 2010 The NetBSD Foundation, Inc. # All rights reserved. @@ -96,7 +96,7 @@ raid1_compfail_body() # put some data there atf_check -s exit:0 -e ignore \ dd if=$(atf_get_srcdir)/t_raid of=testfile count=4 - atf_check -s exit:0 -e ignore sh -c \ + atf_check -s exit:0 -e ignore -x \ "dd if=testfile | rump.dd of=${rawraid} conv=sync" # restart server with failed component @@ -183,7 +183,7 @@ raid5_compfail_body() # put some data there atf_check -s exit:0 -e ignore \ dd if=$(atf_get_srcdir)/t_raid of=testfile count=4 - atf_check -s exit:0 -e ignore sh -c \ + atf_check -s exit:0 -e ignore -x \ "dd if=testfile | rump.dd of=${rawraid} conv=sync" # restart server with failed component -- cgit