Update dir_test.go
Merge pull request #306 from gprggr/dir_test

pkg/lock: fix err check in test