Module Name: src Committed By: pooka Date: Tue Mar 8 21:36:25 UTC 2011
Modified Files: src/tests/lib/librumphijack: t_vfs.sh Log Message: test case for runon prefixes To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/lib/librumphijack/t_vfs.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/librumphijack/t_vfs.sh diff -u src/tests/lib/librumphijack/t_vfs.sh:1.2 src/tests/lib/librumphijack/t_vfs.sh:1.3 --- src/tests/lib/librumphijack/t_vfs.sh:1.2 Wed Feb 23 16:38:08 2011 +++ src/tests/lib/librumphijack/t_vfs.sh Tue Mar 8 21:36:25 2011 @@ -1,4 +1,4 @@ -# $NetBSD: t_vfs.sh,v 1.2 2011/02/23 16:38:08 pooka Exp $ +# $NetBSD: t_vfs.sh,v 1.3 2011/03/08 21:36:25 pooka Exp $ # # Copyright (c) 2011 The NetBSD Foundation, Inc. # All rights reserved. @@ -136,6 +136,7 @@ } simpletest mv_x +simpletest runonprefix # # do a cross-kernel mv @@ -149,6 +150,13 @@ atf_check -s exit:0 diff -ru ${thedir}.2 /rump/${thedir} } +runonprefix() +{ + + atf_check -s exit:0 -o ignore stat /rump/dev + atf_check -s exit:1 -e ignore stat /rumpdev +} + atf_init_test_cases() { @@ -156,4 +164,5 @@ atf_add_test_case cpcopy atf_add_test_case mv_x atf_add_test_case mv_nox + atf_add_test_case runonprefix }