svn commit: r277924 - user/pho/stress2/misc
Peter Holm
pho at FreeBSD.org
Fri Jan 30 12:07:44 UTC 2015
Author: pho
Date: Fri Jan 30 12:07:43 2015
New Revision: 277924
URL: https://svnweb.freebsd.org/changeset/base/277924
Log:
Verify that perl is installed and whitespace cleanup.
Sponsored by: EMC / Isilon storage division
Modified:
user/pho/stress2/misc/fullpath.sh
Modified: user/pho/stress2/misc/fullpath.sh
==============================================================================
--- user/pho/stress2/misc/fullpath.sh Fri Jan 30 12:05:39 2015 (r277923)
+++ user/pho/stress2/misc/fullpath.sh Fri Jan 30 12:07:43 2015 (r277924)
@@ -31,6 +31,7 @@
# Test scenario by marcus at freebsd.org
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
+[ -z "`type perl 2>/dev/null`" ] && exit 0
. ../default.cfg
@@ -103,7 +104,7 @@ test(void) {
int main(int argc, char **argv)
{
int i;
-
+
i = 0;
signal(SIGALRM, handler);
alarm(60);
More information about the svn-src-user
mailing list