Date: Fri, 24 Mar 2017 10:25:25 +0000 (UTC) From: Peter Holm <pho@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r315898 - user/pho/stress2/misc Message-ID: <201703241025.v2OAPPcH038693@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pho Date: Fri Mar 24 10:25:25 2017 New Revision: 315898 URL: https://svnweb.freebsd.org/changeset/base/315898 Log: Wait longer before timeout. Removed debug print. Sponsored by: Dell EMC Isilon Modified: user/pho/stress2/misc/sem_timedwait.sh Modified: user/pho/stress2/misc/sem_timedwait.sh ============================================================================== --- user/pho/stress2/misc/sem_timedwait.sh Fri Mar 24 10:24:06 2017 (r315897) +++ user/pho/stress2/misc/sem_timedwait.sh Fri Mar 24 10:25:25 2017 (r315898) @@ -46,7 +46,6 @@ cd $odir for i in `jot 900`; do date -f %s $((`date +%s` + `jot -r 1 -5 5`)) > /dev/null sleep .`jot -r 1 1 9` - [ $i -eq 900 ] && echo XXX done & pid=$! @@ -77,7 +76,7 @@ main(void) int result; struct timespec ts; - alarm(120); + alarm(600); result = sem_init(&sem, 0, 0); if (result) err(1, "sem_init");
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703241025.v2OAPPcH038693>