Source-Changes-HG archive

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

[src/trunk]: src/tests/usr.sbin Sleep even more.



details:   https://anonhg.NetBSD.org/src/rev/fc9fecf7f060
branches:  trunk
changeset: 1011786:fc9fecf7f060
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sat Jul 11 09:55:26 2020 +0000

description:
Sleep even more.

diffstat:

 tests/usr.sbin/execsnoop/t_execsnoop.sh |  5 +++--
 tests/usr.sbin/opensnoop/t_opensnoop.sh |  5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (40 lines):

diff -r 88ebe9008152 -r fc9fecf7f060 tests/usr.sbin/execsnoop/t_execsnoop.sh
--- a/tests/usr.sbin/execsnoop/t_execsnoop.sh   Sat Jul 11 09:35:22 2020 +0000
+++ b/tests/usr.sbin/execsnoop/t_execsnoop.sh   Sat Jul 11 09:55:26 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_execsnoop.sh,v 1.2 2020/07/06 10:32:18 jruoho Exp $
+# $NetBSD: t_execsnoop.sh,v 1.3 2020/07/11 09:55:26 jruoho Exp $
 #
 # Copyright (c) 2020 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -47,8 +47,9 @@
                n=$(expr $n - 1)
        done
 
-       sleep 3
+       sleep 5
        pkill -9 execsnoop
+       sleep 1
 
        if [ ! $(cat $tmp | grep "whoami" | wc -l) -eq 10 ]; then
                atf_fail "execsnoop does not work"
diff -r 88ebe9008152 -r fc9fecf7f060 tests/usr.sbin/opensnoop/t_opensnoop.sh
--- a/tests/usr.sbin/opensnoop/t_opensnoop.sh   Sat Jul 11 09:35:22 2020 +0000
+++ b/tests/usr.sbin/opensnoop/t_opensnoop.sh   Sat Jul 11 09:55:26 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: t_opensnoop.sh,v 1.3 2020/07/11 09:35:22 jruoho Exp $
+# $NetBSD: t_opensnoop.sh,v 1.4 2020/07/11 09:55:26 jruoho Exp $
 #
 # Copyright (c) 2020 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -50,8 +50,9 @@
                n=$(expr $n - 1)
        done
 
-       sleep 3
+       sleep 5
        pkill -9 opensnoop
+       sleep 1
 
        if [ ! $(cat $tmp | grep "/etc/spwd.db" | wc -l) -eq 10 ]; then
                atf_fail "opensnoop does not work"



Home | Main Index | Thread Index | Old Index