aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2021-09-29 18:21:19 +0200
committern-peugnet <n.peugnet@free.fr>2021-09-29 18:21:19 +0200
commit3df10c6ce075f1539c9470c01778bd50e91ab99b (patch)
tree447143a1882139664a2c075162af348ba590cbba
parent0204df69ff159269856cd4d5b5044d39ee022759 (diff)
downloaddna-backup-3df10c6ce075f1539c9470c01778bd50e91ab99b.tar.gz
dna-backup-3df10c6ce075f1539c9470c01778bd50e91ab99b.zip
ok this should do the trick for macos symlink test
fingerscrossed
-rw-r--r--repo_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repo_test.go b/repo_test.go
index d4f5749..9e72ac0 100644
--- a/repo_test.go
+++ b/repo_test.go
@@ -177,7 +177,7 @@ func TestSymlinks(t *testing.T) {
multi := io.MultiWriter(&output, os.Stderr)
logger.SetOutput(multi)
defer logger.SetOutput(os.Stderr)
- tmpDir := t.TempDir()
+ tmpDir := filepath.Clean(t.TempDir())
extDir := t.TempDir()
f, err := os.Create(filepath.Join(tmpDir, "existing"))
if err != nil {