Add regression test infrastructure.
[dragonfly.git] / usr.bin / make / tests / basic / t0 / test.sh
1 #!/bin/sh
2
3 # $DragonFly: src/usr.bin/make/tests/basic/t0/test.sh,v 1.1 2005/02/01 07:07:14 okumoto Exp $
4
5 . ../../env.sh
6
7 case $1 in
8 test)
9         cat > Makefile << _EOF_
10 _EOF_
11         $MAKE 1> stdout 2> stderr
12         echo $? > status
13         ;;
14
15 compare) std_compare ;;
16 update) std_update ;;
17 run) std_run ;;
18 clean) std_clean ;;
19
20 *)
21         echo "Usage: $0 run | compare | update | clean"
22         ;;
23 esac
24