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/md | |
| parent | 9b376794f1379545fca2c71b90341148ce334743 (diff) | |
Instead of doing 'atf_check ... sh -c foo', just do 'atf_check ... -x foo'.
Diffstat (limited to 'tests/dev/md')
| -rw-r--r-- | tests/dev/md/t_md.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/dev/md/t_md.sh b/tests/dev/md/t_md.sh index 62408349a7f..85de73e80b2 100644 --- a/tests/dev/md/t_md.sh +++ b/tests/dev/md/t_md.sh @@ -1,4 +1,4 @@ -# $NetBSD: t_md.sh,v 1.6 2011/02/04 19:44:00 pooka Exp $ +# $NetBSD: t_md.sh,v 1.7 2011/05/14 17:42:28 jmmv Exp $ # # Copyright (c) 2010 The NetBSD Foundation, Inc. # All rights reserved. @@ -45,9 +45,9 @@ basic_body() atf_check -s exit:0 $(atf_get_srcdir)/h_mdserv ${rawmd} export RUMP_SERVER=unix://commsock - atf_check -s exit:0 -e ignore sh -c \ + atf_check -s exit:0 -e ignore -x \ "dd if=/bin/ls count=10 | rump.dd of=${rawmd} seek=100" - atf_check -s exit:0 -e ignore sh -c \ + atf_check -s exit:0 -e ignore -x \ "rump.dd if=${rawmd} skip=100 count=10 | dd of=testfile" atf_check -s exit:0 -e ignore -o file:testfile dd if=/bin/ls count=10 } |
