This commit is contained in:
Quentin Renard
2020-01-02 17:17:49 +01:00
parent 8c647f8a98
commit 7acbb6c69b
15 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ func TestSSHCopyFunc(t *testing.T) {
if e := []string{"mkdir -p /path/to", "scp -qt /path/to"}; !reflect.DeepEqual(e, s.cmds) {
t.Errorf("expected %+v, got %+v", e, s.cmds)
}
if e, g := "C0644 1 dst\n0\x00", s.buf.String(); e != g {
t.Errorf("expected %+v, got %+v", []byte(e), []byte(g))
if e, g := "C0755 1 dst\n0\x00", s.buf.String(); e != g {
t.Errorf("expected %s, got %s", e, g)
}
}

0
testdata/archive/d/f vendored Normal file → Executable file
View File

0
testdata/archive/f vendored Normal file → Executable file
View File

0
testdata/os/d/d1/f11 vendored Normal file → Executable file
View File

0
testdata/os/d/d2/d21/f211 vendored Normal file → Executable file
View File

0
testdata/os/d/d2/f21 vendored Normal file → Executable file
View File

0
testdata/os/d/f1 vendored Normal file → Executable file
View File

0
testdata/os/f vendored Normal file → Executable file
View File

0
testdata/ssh/f vendored Normal file → Executable file
View File

0
testdata/template/layouts/dir/layout2.html vendored Normal file → Executable file
View File

0
testdata/template/layouts/dummy.css vendored Normal file → Executable file
View File

0
testdata/template/layouts/layout1.html vendored Normal file → Executable file
View File

0
testdata/template/templates/dir/template2.html vendored Normal file → Executable file
View File

0
testdata/template/templates/dummy.css vendored Normal file → Executable file
View File

0
testdata/template/templates/template1.html vendored Normal file → Executable file
View File