Subversion Repositories svn.Prod repos

Rev

Rev 34 | Rev 36 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

PRG=filefind
SRC=$(PRG).go
DIR=/var/tmp
.PHONY: clean test cleantest

$(PRG): $(SRC)
        go build $(SRC)

clean:
        rm -f $(PRG)

test:
        ./$(PRG) $(DIR) > result
        sort result     > result.sort
        find $(DIR)     > result2
        sort result2    > result2.sort
        wc *.sort
        diff *.sort

cleantest:
        rm -f result    result.sort
        rm -f result2   result2.sort