Rev 34 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
33 | - | 1 | SRC=filefind.php |
2 | PRG=$(SRC) |
||
3 | DIR=/var/tmp |
||
34 | - | 4 | .PHONY: test cleantest |
7 | ls | 5 | |
38 | - | 6 | all: test |
7 | |||
7 | ls | 8 | test: |
33 | - | 9 | php $(PRG) $(DIR) > result |
10 | sort result > result.sort |
||
11 | find $(DIR) > result2 |
||
12 | sort result2 > result2.sort |
||
7 | ls | 13 | wc *.sort |
14 | diff *.sort |
||
15 | |||
33 | - | 16 | cleantest: |
34 | - | 17 | rm -f result result.sort |
18 | rm -f result2 result2.sort |