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