Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/scripts/randomtest.loop

    r2725 r3232  
    11#!/bin/sh
     2
     3run_testsuite=true
    24
    35test -d "$1" || { echo "'$1' is not a directory"; exit 1; }
     
    2224        exit 1 # you may comment this out...
    2325        let fail++
    24     else
     26        continue
     27    fi
     28    if $run_testsuite; then
    2529        (
    2630            cd -- "$dir/testsuite" || exit 1
     
    3034        if test $? != 0; then
    3135            echo "Failed runtest in $dir"
    32             exit 1
     36            exit 1 # you may comment this out...
     37            let fail++
     38            continue
    3339        fi
    3440        tail -n10 -- "$dir/testsuite/runtest.log"
    35         rm -rf -- "$dir"
    3641    fi
     42    rm -rf -- "$dir"
    3743    let cnt++
    3844done
Note: See TracChangeset for help on using the changeset viewer.