Subversion Repositories svn.Prod repos

Rev

Rev 33 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33 Rev 34
Line 1... Line 1...
1
SRC=filefind.php
1
SRC=filefind.php
2
PRG=$(SRC)
2
PRG=$(SRC)
3
DIR=/var/tmp
3
DIR=/var/tmp
-
 
4
.PHONY: test cleantest
4
 
5
 
5
test:
6
test:
6
	php $(PRG) $(DIR)	> result
7
	php $(PRG) $(DIR)	> result
7
	sort result		> result.sort
8
	sort result		> result.sort
8
	find $(DIR)		> result2
9
	find $(DIR)		> result2
9
	sort result2		> result2.sort
10
	sort result2		> result2.sort
10
	wc *.sort
11
	wc *.sort
11
	diff *.sort
12
	diff *.sort
12
 
13
 
13
cleantest:
14
cleantest:
14
	rm -f result  result.sort
15
	rm -f result	result.sort
15
	rm -f result2 result2.sort
16
	rm -f result2	result2.sort