Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/usr.bin/find Remove check.



details:   https://anonhg.NetBSD.org/src/rev/091f0e71a300
branches:  trunk
changeset: 778213:091f0e71a300
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Mon Mar 19 12:58:41 2012 +0000

description:
Remove check.

diffstat:

 tests/usr.bin/find/t_find.sh |  11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)

diffs (27 lines):

diff -r 1a8d868d8d58 -r 091f0e71a300 tests/usr.bin/find/t_find.sh
--- a/tests/usr.bin/find/t_find.sh      Mon Mar 19 11:16:36 2012 +0000
+++ b/tests/usr.bin/find/t_find.sh      Mon Mar 19 12:58:41 2012 +0000
@@ -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 @@
        # 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



Home | Main Index | Thread Index | Old Index