1#!/bin/sh
| 1#!/bin/sh
|
2# $FreeBSD: head/tools/regression/execve/execve.t 163150 2006-10-09 05:31:37Z maxim $
| 2# $FreeBSD: head/tools/regression/execve/execve.t 163153 2006-10-09 06:47:08Z maxim $
|
3 4cd `dirname $0` 5cmd="./`basename $0 .t`" 6 7make >/dev/null 2>&1 8 9tests="test-empty test-nonexist test-nonexistshell \ 10 test-devnullscript test-badinterplen test-goodscript \ 11 test-scriptarg test-scriptarg-nospace test-goodaout \
| 3 4cd `dirname $0` 5cmd="./`basename $0 .t`" 6 7make >/dev/null 2>&1 8 9tests="test-empty test-nonexist test-nonexistshell \ 10 test-devnullscript test-badinterplen test-goodscript \ 11 test-scriptarg test-scriptarg-nospace test-goodaout \
|
12 test-truncaout test-sparceaout"
| 12 test-truncaout test-sparseaout"
|
13 14n=0 15 16echo "1..11" 17 18for atest in ${tests} 19do 20 n=`expr ${n} + 1` 21 if make ${atest} 22 then 23 echo "ok ${n} - ${atest}" 24 else 25 echo "not ok ${n} - ${atest}" 26 fi 27done
| 13 14n=0 15 16echo "1..11" 17 18for atest in ${tests} 19do 20 n=`expr ${n} + 1` 21 if make ${atest} 22 then 23 echo "ok ${n} - ${atest}" 24 else 25 echo "not ok ${n} - ${atest}" 26 fi 27done
|