Added code to handle DragonFly tags in expected results files.
[dragonfly.git] / usr.bin / make / tests / basic / t1 / test.sh
1 #!/bin/sh
2
3 # $DragonFly: src/usr.bin/make/tests/basic/t1/test.sh,v 1.2 2005/02/01 11:19:37 okumoto Exp $
4
5 . ../../env.sh
6
7 case $1 in
8 test)
9         cat > Makefile << _EOF_
10 all:
11 _EOF_
12         $MAKE 1> stdout 2> stderr
13         echo $? > status
14         ;;
15
16 compare) std_compare ;;
17 diff) std_diff ;;
18 update) std_update ;;
19 run) std_run ;;
20 clean) std_clean ;;
21
22 *)
23         echo "Usage: $0 run | compare | update | clean"
24         ;;
25 esac
26