Lines Matching refs:fail
34 function fail function
82 [[ $(id -u) = "0" ]] && fail "This script must not be run as root."
85 [[ $? -eq 0 ]] || fail "User must be able to sudo without a password."
108 [[ -n $PATHDIR ]] || fail "PATHDIR wasn't correctly set"
111 [[ ! -e $PATHDIR/$i ]] || fail "$i already exists"
112 ln -s $dir/$i $PATHDIR/$i || fail "Couldn't link $i"
122 chmod 755 $PATHDIR || fail "Couldn't chmod $PATHDIR"
144 [[ -f $runfile ]] || fail "Cannot read file: $runfile"
153 [[ -f $logfile ]] || fail "Cannot read file: $logfile"
170 fail "\$DISKS not set in env, and -a not specified."
172 verify_disks || fail "Couldn't verify all the disks in \$DISKS"
187 [[ -z $runfiles ]] && fail "Couldn't determine distro"
192 [[ $num_disks -lt 3 ]] && fail "Not enough disks to run ZFS Test Suite"
198 rm -rf $PATHDIR || fail "Couldn't remove $PATHDIR"