Module Name: src
Committed By: jruoho
Date: Mon Mar 19 12:58:41 UTC 2012
Modified Files:
src/tests/usr.bin/find: t_find.sh
Log Message:
Remove check.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/tests/usr.bin/find/t_find.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/usr.bin/find/t_find.sh
diff -u src/tests/usr.bin/find/t_find.sh:1.5 src/tests/usr.bin/find/t_find.sh:1.6
--- src/tests/usr.bin/find/t_find.sh:1.5 Sun Mar 18 19:21:53 2012
+++ src/tests/usr.bin/find/t_find.sh Mon Mar 19 12:58:41 2012
@@ -1,4 +1,4 @@
-# $NetBSD: t_find.sh,v 1.5 2012/03/18 19:21:53 jruoho Exp $
+# $NetBSD: t_find.sh,v 1.6 2012/03/19 12:58:41 jruoho Exp $
#
# Copyright (c) 2012 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -40,15 +40,10 @@ emptyperm_body() {
# The case assumes that at least some directories
# in /var are unavailable for the user '_tests'.
#
+ # TODO: Parse the output.file for actual verification.
+ #
atf_check -s exit:1 -o save:output.file \
-e not-empty -x "find /var -empty -type d"
-
- # The case assumes that $dir is drwxrwx---.
- #
- dir="/var/quotas"
-
- atf_check -s exit:1 -e inline:"find: $dir: Permission denied\n" \
- -x "find $dir -empty -type d"
}
atf_test_case exit