]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - tools/regression/execve/execve.t
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / tools / regression / execve / execve.t
1 #!/bin/sh
2 # $FreeBSD$
3
4 cd `dirname $0`
5 cmd="./`basename $0 .t`"
6
7 make >/dev/null 2>&1
8
9 tests="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-sparseaout"
13
14 n=0
15
16 echo "1..11"
17
18 for atest in ${tests}
19 do
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
27 done