Rev 46 | Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
45 | - | 1 | SRC=filefind.py |
2 | PRG=$(SRC) |
||
3 | DIR=/var/tmp |
||
4 | .PHONY: test cleantest |
||
5 | |||
6 | all: test |
||
7 | |||
8 | test: |
||
9 | ./$(PRG) $(DIR) > result |
||
10 | sort result > result.sort |
||
11 | find $(DIR) > result2 |
||
12 | sort result2 > result2.sort |
||
13 | wc *.sort |
||
14 | diff *.sort |
||
15 | |||
16 | cleantest: |
||
17 | rm -f result result.sort |
||
18 | rm -f result2 result2.sort |