11838 secflag tests are racy
@@ -11,10 +11,11 @@ # http://www.illumos.org/license/CDDL. # # # Copyright 2015, Richard Lowe. +# Copyright 2019 Joyent, Inc. # mkdir /tmp/secflags-test.$$ cd /tmp/secflags-test.$$
@@ -28,10 +29,13 @@ rm -fr /tmp/secflags-test.$$ } trap cleanup EXIT +# We need to wait for sleep to get exec()ed +sleep 1 + ## gcore-produced core gcore $pid >/dev/null cat > gcore-expected.$$ <<EOF namesz: 0x5