X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=cmd%2Fsafcm-remote%2Fsync%2Fsync_test.go;h=6f8025a2c7cb8d106be7efe23c4efb1b1644e321;hb=778665c07c9cf6f434dbd1ee867fe8b8636f55c0;hp=4c0f08d5abdf6515f4da8df503b2088fd71d355d;hpb=992eaae7fec45c2d58fff89d1bc0ae920a899296;p=safcm%2Fsafcm.git diff --git a/cmd/safcm-remote/sync/sync_test.go b/cmd/safcm-remote/sync/sync_test.go index 4c0f08d..6f8025a 100644 --- a/cmd/safcm-remote/sync/sync_test.go +++ b/cmd/safcm-remote/sync/sync_test.go @@ -31,6 +31,8 @@ import ( "ruderich.org/simon/safcm/cmd/safcm-remote/run" ) +// testRunner implements run.Runner to test commands without actually running +// them. type testRunner struct { t *testing.T expCmds []*exec.Cmd