Lines Matching refs:fail
70 fail() function
79 modprobe -q $module "$1" || fail "insert $module failed with error $?"
167 [ "$val" = "$1" ] || fail "line value is ${val:-empty} when $1 was expected"
181 [ $retry -lt 5 ] || fail "mockup $mock_line value ${val:-empty} when $1 expected"
208 [ -e "$mock_line" ] || fail "missing line $chip:$offset"
271 [ ! -e "$GPIO_DEBUGFS/$1/$2" ] || fail "unexpected line $1:$2"
292 [ "${1:-}" ] || fail "missing ranges"
300 [ "${1:-}" ] || fail "unexpected chip - $gc"
309 [ "${1:-}" ] && fail "missing expected chip of width $1"
310 remove_module || fail "failed to remove module with error $?"
334 [ "${1:-}" ] && fail "unknown argument '$1'"
353 fail "unknown interface type: $dev_type"
357 remove_module || fail "can't remove existing $module module"