From 00195ad3b0c3e8516f93bb538ab1e9961153d468 Mon Sep 17 00:00:00 2001 From: gson Date: Sun, 25 Jul 2021 10:11:32 +0000 Subject: [PATCH] Increase sleep waiting for execsnoop to start; one second is not sufficient on a Dell Latitude D400 i386 laptop. --- tests/usr.sbin/execsnoop/t_execsnoop.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/usr.sbin/execsnoop/t_execsnoop.sh b/tests/usr.sbin/execsnoop/t_execsnoop.sh index 2cc0a1bc06e1..fc0098c6d5d2 100644 --- a/tests/usr.sbin/execsnoop/t_execsnoop.sh +++ b/tests/usr.sbin/execsnoop/t_execsnoop.sh @@ -1,4 +1,4 @@ -# $NetBSD: t_execsnoop.sh,v 1.5 2021/07/24 15:56:05 gson Exp $ +# $NetBSD: t_execsnoop.sh,v 1.6 2021/07/25 10:11:32 gson Exp $ # # Copyright (c) 2020 The NetBSD Foundation, Inc. # All rights reserved. @@ -41,7 +41,7 @@ basic_body() { n=10 atf_check -s exit:0 -o ignore -e empty -x "execsnoop > $tmp &" - sleep 1 + sleep 5 while [ $n -gt 0 ]; do whoami