aboutsummaryrefslogtreecommitdiff
path: root/rsh/e2e_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'rsh/e2e_test.go')
-rw-r--r--rsh/e2e_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/rsh/e2e_test.go b/rsh/e2e_test.go
index e6f82b9..f4b44b4 100644
--- a/rsh/e2e_test.go
+++ b/rsh/e2e_test.go
@@ -46,6 +46,9 @@ func TestEndToEndRealRsync(t *testing.T) {
mustWrite(t, filepath.Join(src, "sub", "b.bin"), "\x00\x01\x02\x03beta")
mustWrite(t, filepath.Join(src, "sub", "c.txt"), "gamma gamma gamma")
+ // These flags are a copy of the vector Rsync.args builds in the app. Nothing
+ // links the two, so changing one without the other leaves this test proving
+ // an argument vector the app no longer runs.
runRsync := func(mirror bool) {
t.Helper()
args := []string{