Skip to content
Permalink
Browse files

t: store test_count{,.lock} in t, not t/remote

  • Loading branch information...
ttaylorr committed Jul 11, 2018
1 parent 558bb5d commit 2097051b12b5c81c3ed8cdc221a0fb876a9ba54c
Showing with 5 additions and 2 deletions.
  1. +2 −0 .gitignore
  2. +1 −0 t/Makefile
  3. +2 −2 t/cmd/lfstest-count-tests.go
@@ -9,6 +9,8 @@ man/*
*.test
tmp
t/remote
t/test_count
t/test_count.lock

debian/git-lfs/
debian/*.log
@@ -22,6 +22,7 @@ TEST_CMDS += ../bin/lfstest-testutils$X
all : $(DEFAULT_TEST_TARGET)

test : $(TEST_CMDS)
$(RM) -r remote test_count{,.lock}
prove $(PROVE_EXTRA_ARGS) ./t-*.sh

.PHONY : clean
@@ -90,7 +90,7 @@ func main() {
strings.NewReader(time.Now().String()))
}

return n - 1, err
return 0, nil
})
}

@@ -172,7 +172,7 @@ func callWithCount(fn countFn) error {
}

func path(s string) (string, error) {
p := filepath.Join(os.Getenv("LFSTEST_DIR"), s)
p := filepath.Join(filepath.Dir(os.Getenv("LFSTEST_DIR")), s)
if err := os.MkdirAll(filepath.Dir(p), 0666); err != nil {
return "", err
}

0 comments on commit 2097051

Please sign in to comment.
You can’t perform that action at this time.