diff options
| author | jmmv <jmmv@NetBSD.org> | 2011-05-14 17:42:28 +0000 |
|---|---|---|
| committer | jmmv <jmmv@NetBSD.org> | 2011-05-14 17:42:28 +0000 |
| commit | 508796dde527067df112e40a0c88672fb2186bcb (patch) | |
| tree | 1a33cb9c1189c24a9d71435effe5ebdbf5f1f393 /tests/dev/raidframe | |
| parent | 9b376794f1379545fca2c71b90341148ce334743 (diff) | |
Instead of doing 'atf_check ... sh -c foo', just do 'atf_check ... -x foo'.
Diffstat (limited to 'tests/dev/raidframe')
| -rw-r--r-- | tests/dev/raidframe/t_raid.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
