Added code to handle DragonFly tags in expected results files.
[dragonfly.git] / usr.bin / make / tests / basic / t2 / test.sh
1 #!/bin/sh
2
3 # $DragonFly: src/usr.bin/make/tests/basic/t2/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         echo hello
12 _EOF_
13         $MAKE 1> stdout 2> stderr
14         echo $? > status
15         ;;
16
17 compare) std_compare ;;
18 diff) std_diff ;;
19 update) std_update ;;
20 run) std_run ;;
21 clean) std_clean ;;
22
23 *)
24         echo "Usage: $0 run | compare | update | clean"
25         ;;
26 esac
27