Deleted Added
full compact
execve.t (159097) execve.t (163150)
1#!/bin/sh
1#!/bin/sh
2# $FreeBSD: head/tools/regression/execve/execve.t 159097 2006-05-31 11:13:10Z maxim $
2# $FreeBSD: head/tools/regression/execve/execve.t 163150 2006-10-09 05:31:37Z 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"
12 test-truncaout test-sparceaout"
13
14n=0
15
13
14n=0
15
16echo "1..10"
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
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