Print this page
11838 secflag tests are racy

*** 10,19 **** --- 10,20 ---- # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # Copyright 2015, Richard Lowe. + # Copyright 2019 Joyent, Inc. tmpdir=/tmp/test.$$ mkdir $tmpdir cd $tmpdir
*** 49,58 **** --- 50,60 ---- set=$3 ret=0 $bin & pid=$! + sleep 1 psecflags $pid | grep -q "${set}:.*aslr" (( $? != $state )) && ret=1 kill -9 $pid return $ret }