components/bash/patches/solaris-016.run-all.patch
changeset 1082 6d49548fa9da
child 5518 c47fe0edc204
equal deleted inserted replaced
1081:3d086c82286d 1082:6d49548fa9da
       
     1 --- tests/run-all	1999-10-08 08:07:46.000000000 -0700
       
     2 +++ tests/run-all	2012-10-10 10:06:33.558822000 -0700
       
     3 @@ -1,4 +1,4 @@
       
     4 -#! /bin/sh
       
     5 +#!/bin/bash
       
     6  
       
     7  PATH=.:$PATH	# just to get recho/zecho/printenv if not run via `make tests'
       
     8  export PATH
       
     9 @@ -15,6 +15,11 @@
       
    10  
       
    11  rm -f /tmp/xx
       
    12  
       
    13 +if [ -f /tmp/xx ] ; then
       
    14 +    echo "someone left a /tmp/xx around. I can't test." 
       
    15 +    exit 1
       
    16 +fi
       
    17 +
       
    18  echo Any output from any test, unless otherwise noted, indicates a possible anomaly
       
    19  
       
    20  for x in run-*
       
    21 @@ -22,8 +27,9 @@
       
    22  	case $x in
       
    23  	$0|run-minimal|run-gprof)	;;
       
    24  	*.orig|*~) ;;
       
    25 -	*)	echo $x ; sh $x ;;
       
    26 +	*) 	echo $x ; ${THIS_SH} $x ;;
       
    27  	esac
       
    28  done
       
    29  
       
    30  exit 0
       
    31 +