Rev 33 | Go to most recent revision | 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 | |
6 | test: |
||
33 | - | 7 | php $(PRG) $(DIR) > result |
8 | sort result > result.sort |
||
9 | find $(DIR) > result2 |
||
10 | sort result2 > result2.sort |
||
7 | ls | 11 | wc *.sort |
12 | diff *.sort |
||
13 | |||
33 | - | 14 | cleantest: |
34 | - | 15 | rm -f result result.sort |
16 | rm -f result2 result2.sort |