diff options
| author | joerg <joerg@NetBSD.org> | 2013-02-19 21:08:24 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2013-02-19 21:08:24 +0000 |
| commit | 6d8eb6f59382ff2e6328cf2113e6775e36a7ff6e (patch) | |
| tree | 51addb34dd669aa2903081b86e308ab5b744808c /tests/dev | |
| parent | 166841b82b38e1038305dd89c4eb3d8566c913e0 (diff) | |
Check for RUMP programs before using them.
Diffstat (limited to 'tests/dev')
| -rw-r--r-- | tests/dev/cgd/t_cgd.sh | 5 | ||||
| -rw-r--r-- | tests/dev/raidframe/t_raid.sh | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/tests/dev/cgd/t_cgd.sh b/tests/dev/cgd/t_cgd.sh index bdcdf012268..9cd50a5fd86 100644 --- a/tests/dev/cgd/t_cgd.sh +++ b/tests/dev/cgd/t_cgd.sh @@ -1,4 +1,4 @@ -# $NetBSD: t_cgd.sh,v 1.10 2011/05/19 20:37:50 riastradh Exp $ +# $NetBSD: t_cgd.sh,v 1.11 2013/02/19 21:08:24 joerg Exp $ # # Copyright (c) 2010 The NetBSD Foundation, Inc. # All rights reserved. @@ -35,6 +35,7 @@ basic_head() { atf_set "descr" "Tests that encrypt/decrypt works" + atf_set "require.progs" "rump_server" } basic_body() @@ -66,6 +67,7 @@ wrongpass_head() atf_set "descr" "Tests that wrong password does not give original " \ "plaintext" + atf_set "require.progs" "rump_server" } wrongpass_body() @@ -103,6 +105,7 @@ unaligned_write_head() { atf_set "descr" "Attempt unaligned writes to a raw cgd device" + atf_set "require.progs" "rump_server" } unaligned_write_body() diff --git a/tests/dev/raidframe/t_raid.sh b/tests/dev/raidframe/t_raid.sh index a6a54ac7647..ae21eedf5e3 100644 --- a/tests/dev/raidframe/t_raid.sh +++ b/tests/dev/raidframe/t_raid.sh @@ -1,5 +1,5 @@ #! /usr/bin/atf-sh -# $NetBSD: t_raid.sh,v 1.11 2011/10/15 11:31:40 gson Exp $ +# $NetBSD: t_raid.sh,v 1.12 2013/02/19 21:08:24 joerg Exp $ # # Copyright (c) 2010 The NetBSD Foundation, Inc. # All rights reserved. @@ -51,6 +51,7 @@ smalldisk_head() { atf_set "descr" "Checks the raidframe works on small disks " \ "(PR kern/44239)" + atf_set "require.progs" "rump_server" } smalldisk_body() @@ -79,6 +80,7 @@ atf_test_case raid1_compfail cleanup raid1_compfail_head() { atf_set "descr" "Checks that RAID1 works after component failure" + atf_set "require.progs" "rump_server" } raid1_compfail_body() @@ -128,6 +130,7 @@ raid1_comp0fail_head() { atf_set "descr" "Checks configuring RAID1 after component 0 fails" \ "(PR kern/44251)" + atf_set "require.progs" "rump_server" } raid1_comp0fail_body() @@ -165,6 +168,7 @@ raid1_normal_head() { atf_set "descr" "Checks that RAID1 -c configurations work " \ "in the normal case" + atf_set "require.progs" "rump_server" } raid1_normal_body() @@ -213,6 +217,7 @@ atf_test_case raid5_compfail cleanup raid5_compfail_head() { atf_set "descr" "Checks that RAID5 works after component failure" + atf_set "require.progs" "rump_server" } raid5_compfail_body() @@ -262,6 +267,7 @@ raid5_normal_head() { atf_set "descr" "Checks that RAID5 works after normal shutdown " \ "and 'raidctl -c' startup" + atf_set "require.progs" "rump_server" } raid5_normal_body() |
