Lines Matching defs:fail
81 fail() {
262 [ -n "$STF_PATH" ] || fail "STF_PATH wasn't correctly set"
270 fail "Couldn't link $i"
302 chmod 755 "$STF_PATH" || fail "Couldn't chmod $STF_PATH"
317 chmod 755 "$STF_PATH" || fail "Couldn't chmod $STF_PATH"
443 [ -f "$nfsfile" ] || fail "Cannot read file: $nfsfile"
456 fail "Iterations must be greater than 0."
467 fail "-t can only be provided once."
493 fail "-t and -T are mutually exclusive."
513 fail "couldn't find test matching '$SINGLETEST'"
551 fail "Cannot find runfile: $SAVED_RUNFILE"
556 fail "Cannot read runfile: $RUNFILE"
585 fail "This script must not be run as root."
589 fail "Passwordless sudo access required."
603 [ -e "$STF_PATH/ksh" ] || fail "This test suite requires ksh."
604 [ -e "$STF_SUITE/include/default.cfg" ] || fail \
657 [ "$TAGS" = "perf" ] && fail "Running perf tests without disks."
664 [ -f "$TEST_FILE" ] && fail "Failed file exists: ${TEST_FILE}"
666 fail "Failed creating: ${TEST_FILE} ($?)"
673 test -x "$LOSETUP" || fail "$LOSETUP utility must be installed"
679 fail "Failed: ${TEST_FILE} -> loopback"
685 fail "Failed: ${TEST_FILE} -> ${TEST_LOOPBACK}"
704 [ "$NUM_DISKS" -lt 3 ] && fail "Not enough disks ($NUM_DISKS/3 minimum)"