diff options
author | n-peugnet <n.peugnet@free.fr> | 2021-09-29 18:08:26 +0200 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2021-09-29 18:08:26 +0200 |
commit | fdef08a2b07a40893d766d41aeece1c2e3c47b2d (patch) | |
tree | 59192db0470df6ea457806e96b698f72223c7139 | |
parent | f549ff6f104598277057ce4d6c3c7d61c8be1819 (diff) | |
download | dna-backup-fdef08a2b07a40893d766d41aeece1c2e3c47b2d.tar.gz dna-backup-fdef08a2b07a40893d766d41aeece1c2e3c47b2d.zip |
add debug print for symlink test
-rw-r--r-- | repo_test.go | 1 |
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) |