diff options
Diffstat (limited to 'usr/src/cmd/ztest')
-rwxr-xr-x | usr/src/cmd/ztest/zloop.bash | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/cmd/ztest/zloop.bash b/usr/src/cmd/ztest/zloop.bash index 2410eaa985..96d796ae0c 100755 --- a/usr/src/cmd/ztest/zloop.bash +++ b/usr/src/cmd/ztest/zloop.bash @@ -16,7 +16,7 @@ # # -# Copyright (c) 2015, 2016 by Delphix. All rights reserved. +# Copyright (c) 2015, 2017 by Delphix. All rights reserved. # set -x @@ -146,6 +146,9 @@ fi or_die /bin/rm -f ztest.history or_die /bin/rm -f ztest.cores +# Allow core files to be written to cwd if that's currently disabled. +sudo coreadm -e process + ztrc=0 # ztest return value foundcrashes=0 # number of crashes found so far starttime=$(/bin/date +%s) |