Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/shell/hush_test


Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (10 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
Location:
branches/3.2/mindi-busybox/shell/hush_test
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/shell/hush_test/hush-parsing/starquoted2.right

    r2725 r3232  
    11Should be printed
     2Would not be printed by bash
     3Would not be printed by bash
     4Would not be printed by bash
    25Should be printed
    36Empty:
  • branches/3.2/mindi-busybox/shell/hush_test/hush-parsing/starquoted2.tests

    r2725 r3232  
    99# treating "" as "this word cannot be expanded to nothing,
    1010# but must be at least null string". Now it can be expanded to nothing.
    11 for a in "$@"""; do echo Should not be printed; done
    12 for a in """$@"; do echo Should not be printed; done
    13 for a in """$@"''"$@"''; do echo Should not be printed; done
     11for a in "$@"""; do echo Would not be printed by bash; done
     12for a in """$@"; do echo Would not be printed by bash; done
     13for a in """$@"''"$@"''; do echo Would not be printed by bash; done
    1414for a in ""; do echo Should be printed; done
    1515
  • branches/3.2/mindi-busybox/shell/hush_test/run-all

    r2725 r3232  
    4949            #*) echo $x ; sh $x ;;
    5050            *)
     51            echo -n "$1/$x:"
    5152            sh "$x" >"../$1-$x.fail" 2>&1 && \
    52             { echo "$1/$x: ok"; rm "../$1-$x.fail"; } || echo "$1/$x: fail";
     53            { { echo " ok"; rm "../$1-$x.fail"; } || echo " fail"; }
    5354            ;;
    5455        esac
     
    6162    test -f "$name.right" || continue
    6263#   echo Running test: "$x"
     64    echo -n "$1/$x:"
    6365    (
    6466        "$THIS_SH" "./$x" >"$name.xx" 2>&1
     
    7173    )
    7274    case $? in
    73         0)  echo "$1/$x: ok";;
    74         77) echo "$1/$x: skip (feature disabled)";;
    75         *)  echo "$1/$x: fail"; tret=1;;
     75        0)  echo " ok";;
     76        77) echo " skip (feature disabled)";;
     77        *)  echo " fail"; tret=1;;
    7678    esac
    7779    done
Note: See TracChangeset for help on using the changeset viewer.