Lines Matching refs:fail
35 function fail function
83 [[ $(id -u) == "0" ]] && fail "This script must not be run as root."
86 fail "User must be able to sudo without a password."
123 fail "$disk is too small, need at least ${size}GB"
134 [[ -n $PATHDIR ]] || fail "PATHDIR wasn't correctly set"
137 [[ ! -e $PATHDIR/$i ]] || fail "$i already exists"
138 ln -s $dir/$i $PATHDIR/$i || fail "Couldn't link $i"
148 chmod 755 $PATHDIR || fail "Couldn't chmod $PATHDIR"
170 [[ -f $runfile ]] || fail "Cannot read file: $runfile"
179 [[ -f $logfile ]] || fail "Cannot read file: $logfile"
196 fail "\$DISKS not set in env, and -a not specified."
198 verify_disks || fail "Couldn't verify all the disks in \$DISKS"
213 [[ -z $runfiles ]] && fail "Couldn't determine distro"
218 (( num_disks < 3 )) && fail "Not enough disks to run ZFS Test Suite"
224 rm -rf $PATHDIR || fail "Couldn't remove $PATHDIR"