• Home
  • Raw
  • Download

Lines Matching full:then

47 	     -z "$TST_NO_CLEANUP" ]; then
51 if [ "$TST_NEEDS_DEVICE" = 1 -a "$TST_DEVICE_FLAG" = 1 ]; then
52 if ! tst_device release "$TST_DEVICE"; then
57 if [ "$TST_NEEDS_TMPDIR" = 1 -a -n "$TST_TMPDIR" ]; then
63 if [ -n "$_tst_setup_timer_pid" ]; then
68 if [ $TST_FAIL -gt 0 ]; then
72 if [ $TST_BROK -gt 0 ]; then
76 if [ $TST_WARN -gt 0 ]; then
80 if [ $TST_CONF -gt 0 ]; then
127 if [ "$TST_DO_EXIT" = 1 ]; then
139 if [ $? -ne 0 ]; then
148 if [ $? -ne 0 ]; then
156 if [ $? -eq 0 ]; then
167 if [ $? -ne 0 ]; then
181 if [ $# -ne 3 ]; then
185 if ! tst_is_int "$tst_sec"; then
191 if [ "$?" = "$tst_exp" ]; then
195 if [ $tst_delay -lt $tst_sec ]; then
208 if [ $# -ne 2 ]; then
238 if ! grep -q "$device" /proc/mounts; then
244 if umount "$device" > /dev/null; then
267 if [ -z "$fs_type" ]; then
271 if [ -z "$device" ]; then
282 if type command > /dev/null 2>&1; then
286 if [ $? -eq 0 ]; then
288 elif [ $? -eq 127 ]; then
308 if ! tst_cmd_available $cmd; then
336 if [ -n "$TST_USAGE" ]; then
356 if [ "$1" = "$res" ]; then
386 if [ -n "$TST_TEST_PATH" ]; then
416 if ! tst_is_int "$TST_ITERATIONS"; then
420 if [ "$TST_ITERATIONS" -le 0 ]; then
424 if [ "$TST_NEEDS_ROOT" = 1 ]; then
425 if [ "$(id -ru)" != 0 ]; then
433 if [ -n "$TST_MIN_KVER" ]; then
440 if [ "$TST_NEEDS_TMPDIR" = 1 ]; then
441 if [ -z "$TMPDIR" ]; then
454 if [ "$TST_NEEDS_DEVICE" = 1 ]; then
455 if [ -z ${TST_TMPDIR} ]; then
461 if [ ! -b "$TST_DEVICE" -o $? -ne 0 ]; then
468 if [ -n "$TST_NEEDS_MODULE" ]; then
473 if [ -f "$tst_module" ]; then
479 if [ -z "$TST_MODPATH" ]; then
486 if [ -n "$TST_SETUP" ]; then
493 if [ -n "$TST_TEST_DATA" ]; then
515 if type ${TST_TESTFUNC}1 > /dev/null 2>&1; then
534 if [ -z "$TST_ID" ]; then
541 if [ -z "$LTPROOT" ]; then
548 if [ -z "$TST_NO_DEFAULT_RUN" ]; then
549 if TST_TEST_PATH=$(which $0) 2>/dev/null; then
550 if ! grep -q tst_run "$TST_TEST_PATH"; then
555 if [ -z "$TST_TESTFUNC" ]; then
561 if [ -n "$TST_CNT" ]; then
562 if ! tst_is_int "$TST_CNT"; then
566 if [ "$TST_CNT" -le 0 ]; then
571 if [ -n "$TST_POS_ARGS" ]; then
572 if ! tst_is_int "$TST_POS_ARGS"; then
576 if [ "$TST_POS_ARGS" -le 0 ]; then
592 if [ -n "$TST_POS_ARGS" ]; then
593 if [ -z "$TST_PRINT_HELP" -a $# -ne "$TST_POS_ARGS" ]; then
598 if [ -z "$TST_PRINT_HELP" -a $# -ne 0 ]; then