aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2021-09-29 18:08:26 +0200
committern-peugnet <n.peugnet@free.fr>2021-09-29 18:08:26 +0200
commitfdef08a2b07a40893d766d41aeece1c2e3c47b2d (patch)
tree59192db0470df6ea457806e96b698f72223c7139
parentf549ff6f104598277057ce4d6c3c7d61c8be1819 (diff)
downloaddna-backup-fdef08a2b07a40893d766d41aeece1c2e3c47b2d.tar.gz
dna-backup-fdef08a2b07a40893d766d41aeece1c2e3c47b2d.zip
add debug print for symlink test
-rw-r--r--repo_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/repo_test.go b/repo_test.go
index bb61a35..3885e0b 100644
--- a/repo_test.go
+++ b/repo_test.go
@@ -192,6 +192,7 @@ func TestSymlinks(t *testing.T) {
os.Symlink("./notexisting", filepath.Join(tmpDir, "linknotexisting"))
os.Symlink("./existing", filepath.Join(tmpDir, "linkexisting"))
files := listFiles(tmpDir)
+ fmt.Println(files)
testutils.AssertLen(t, 2, files, "Files")
if files[0].Link != "" {
t.Error("linkexisting should not be a link, actual:", files[0].Link)