},
},
[]string{
- `4: sync remote: files: "." (group): unchanged`,
- `4: sync remote: files: "dir" (group): will create`,
- `3: sync remote: files: "dir" (group): creating`,
- `4: sync remote: files: "dir" (group): creating directory`,
- `4: sync remote: files: "dir" (group): chmodding drwxr-xr-x`,
- fmt.Sprintf(`4: sync remote: files: "dir" (group): chowning %d/%d`, uid, gid),
- `4: sync remote: files: "dir/file" (group): will create`,
- `3: sync remote: files: "dir/file" (group): creating`,
- `4: sync remote: files: "dir/file" (group): creating temporary file "dir/.file*"`,
- `4: sync remote: files: "dir/file" (group): renaming "dir/.fileRND"`,
+ `4: files: "." (group): unchanged`,
+ `4: files: "dir" (group): will create`,
+ `3: files: "dir" (group): creating`,
+ `4: files: "dir" (group): creating directory`,
+ `4: files: "dir" (group): chmodding drwxr-xr-x`,
+ fmt.Sprintf(`4: files: "dir" (group): chowning %d/%d`, uid, gid),
+ `4: files: "dir/file" (group): will create`,
+ `3: files: "dir/file" (group): creating`,
+ `4: files: "dir/file" (group): creating temporary file "dir/.file*"`,
+ `4: files: "dir/file" (group): renaming "dir/.fileRND"`,
},
nil,
},
},
safcm.MsgSyncResp{},
[]string{
- `4: sync remote: files: "." (group): unchanged`,
- `4: sync remote: files: "dir" (group): unchanged`,
- `4: sync remote: files: "dir/file" (group): unchanged`,
+ `4: files: "." (group): unchanged`,
+ `4: files: "dir" (group): unchanged`,
+ `4: files: "dir/file" (group): unchanged`,
},
nil,
},
},
safcm.MsgSyncResp{},
[]string{
- `4: sync remote: files: "/" (group): unchanged`,
- `4: sync remote: files: "/etc" (group): unchanged`,
- `4: sync remote: files: "/tmp" (group): unchanged`,
+ `4: files: "/" (group): unchanged`,
+ `4: files: "/etc" (group): unchanged`,
+ `4: files: "/tmp" (group): unchanged`,
},
nil,
},
},
safcm.MsgSyncResp{},
[]string{
- `4: sync remote: files: "." (group): unchanged`,
- `4: sync remote: files: "dir" (group): unchanged`,
- `4: sync remote: files: "dir/file" (group): unchanged`,
+ `4: files: "." (group): unchanged`,
+ `4: files: "dir" (group): unchanged`,
+ `4: files: "dir/file" (group): unchanged`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "." (group): permission differs drwxr-x--- -> drwx------`,
- `3: sync remote: files: "." (group): updating`,
- `4: sync remote: files: "." (group): chmodding drwx------`,
- `3: sync remote: files: ".": queuing trigger on "."`,
- `4: sync remote: files: "dir" (group): unchanged`,
- `4: sync remote: files: "dir/file" (group): unchanged`,
+ `4: files: "." (group): permission differs drwxr-x--- -> drwx------`,
+ `3: files: "." (group): updating`,
+ `4: files: "." (group): chmodding drwx------`,
+ `3: files: ".": queuing trigger on "."`,
+ `4: files: "dir" (group): unchanged`,
+ `4: files: "dir/file" (group): unchanged`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "." (group): unchanged`,
- `4: sync remote: files: "dir" (group): permission differs drwxr-x--- -> drwxr-xr-x`,
- `3: sync remote: files: "dir" (group): updating`,
- `4: sync remote: files: "dir" (group): chmodding drwxr-xr-x`,
- `3: sync remote: files: "dir": queuing trigger on "."`,
- `3: sync remote: files: "dir": queuing trigger on "dir"`,
- `4: sync remote: files: "dir/file" (group): unchanged`,
+ `4: files: "." (group): unchanged`,
+ `4: files: "dir" (group): permission differs drwxr-x--- -> drwxr-xr-x`,
+ `3: files: "dir" (group): updating`,
+ `4: files: "dir" (group): chmodding drwxr-xr-x`,
+ `3: files: "dir": queuing trigger on "."`,
+ `3: files: "dir": queuing trigger on "dir"`,
+ `4: files: "dir/file" (group): unchanged`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "." (group): unchanged`,
- `4: sync remote: files: "dir" (group): unchanged`,
- `4: sync remote: files: "dir/file" (group): will create`,
- `3: sync remote: files: "dir/file" (group): creating`,
- `4: sync remote: files: "dir/file" (group): creating temporary file "dir/.file*"`,
- `4: sync remote: files: "dir/file" (group): renaming "dir/.fileRND"`,
- `3: sync remote: files: "dir/file": queuing trigger on "."`,
- `3: sync remote: files: "dir/file": queuing trigger on "dir"`,
- `3: sync remote: files: "dir/file": queuing trigger on "dir/file"`,
+ `4: files: "." (group): unchanged`,
+ `4: files: "dir" (group): unchanged`,
+ `4: files: "dir/file" (group): will create`,
+ `3: files: "dir/file" (group): creating`,
+ `4: files: "dir/file" (group): creating temporary file "dir/.file*"`,
+ `4: files: "dir/file" (group): renaming "dir/.fileRND"`,
+ `3: files: "dir/file": queuing trigger on "."`,
+ `3: files: "dir/file": queuing trigger on "dir"`,
+ `3: files: "dir/file": queuing trigger on "dir/file"`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "." (group): unchanged`,
- `4: sync remote: files: "dir" (group): will create`,
- `3: sync remote: files: "dir" (group): creating`,
- `4: sync remote: files: "dir" (group): creating directory`,
- `4: sync remote: files: "dir" (group): chmodding drwxr-xr-x`,
- fmt.Sprintf(`4: sync remote: files: "dir" (group): chowning %d/%d`, uid, gid),
- `3: sync remote: files: "dir": queuing trigger on "."`,
- `3: sync remote: files: "dir": queuing trigger on "dir"`,
- `4: sync remote: files: "dir/file" (group): will create`,
- `3: sync remote: files: "dir/file" (group): creating`,
- `4: sync remote: files: "dir/file" (group): creating temporary file "dir/.file*"`,
- `4: sync remote: files: "dir/file" (group): renaming "dir/.fileRND"`,
- `4: sync remote: files: "dir/file": skipping trigger on ".", already active`,
- `4: sync remote: files: "dir/file": skipping trigger on "dir", already active`,
- `3: sync remote: files: "dir/file": queuing trigger on "dir/file"`,
+ `4: files: "." (group): unchanged`,
+ `4: files: "dir" (group): will create`,
+ `3: files: "dir" (group): creating`,
+ `4: files: "dir" (group): creating directory`,
+ `4: files: "dir" (group): chmodding drwxr-xr-x`,
+ fmt.Sprintf(`4: files: "dir" (group): chowning %d/%d`, uid, gid),
+ `3: files: "dir": queuing trigger on "."`,
+ `3: files: "dir": queuing trigger on "dir"`,
+ `4: files: "dir/file" (group): will create`,
+ `3: files: "dir/file" (group): creating`,
+ `4: files: "dir/file" (group): creating temporary file "dir/.file*"`,
+ `4: files: "dir/file" (group): renaming "dir/.fileRND"`,
+ `4: files: "dir/file": skipping trigger on ".", already active`,
+ `4: files: "dir/file": skipping trigger on "dir", already active`,
+ `3: files: "dir/file": queuing trigger on "dir/file"`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "/" (group): unchanged`,
- `4: sync remote: files: "/tmp" (group): unchanged`,
- `4: sync remote: files: "/tmp/safcm-sync-files-test-file" (group): will create`,
- `3: sync remote: files: "/tmp/safcm-sync-files-test-file" (group): creating`,
- `4: sync remote: files: "/tmp/safcm-sync-files-test-file" (group): creating temporary file "/tmp/.safcm-sync-files-test-file*"`,
- `4: sync remote: files: "/tmp/safcm-sync-files-test-file" (group): renaming "/tmp/.safcm-sync-files-test-fileRND"`,
- `3: sync remote: files: "/tmp/safcm-sync-files-test-file": queuing trigger on "/"`,
- `3: sync remote: files: "/tmp/safcm-sync-files-test-file": queuing trigger on "/tmp"`,
- `3: sync remote: files: "/tmp/safcm-sync-files-test-file": queuing trigger on "/tmp/safcm-sync-files-test-file"`,
+ `4: files: "/" (group): unchanged`,
+ `4: files: "/tmp" (group): unchanged`,
+ `4: files: "/tmp/safcm-sync-files-test-file" (group): will create`,
+ `3: files: "/tmp/safcm-sync-files-test-file" (group): creating`,
+ `4: files: "/tmp/safcm-sync-files-test-file" (group): creating temporary file "/tmp/.safcm-sync-files-test-file*"`,
+ `4: files: "/tmp/safcm-sync-files-test-file" (group): renaming "/tmp/.safcm-sync-files-test-fileRND"`,
+ `3: files: "/tmp/safcm-sync-files-test-file": queuing trigger on "/"`,
+ `3: files: "/tmp/safcm-sync-files-test-file": queuing trigger on "/tmp"`,
+ `3: files: "/tmp/safcm-sync-files-test-file": queuing trigger on "/tmp/safcm-sync-files-test-file"`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "file" (group): will create`,
- `3: sync remote: files: "file" (group): creating`,
- `4: sync remote: files: "file" (group): creating temporary file ".file*"`,
- `4: sync remote: files: "file" (group): renaming "./.fileRND"`,
+ `4: files: "file" (group): will create`,
+ `3: files: "file" (group): creating`,
+ `4: files: "file" (group): creating temporary file ".file*"`,
+ `4: files: "file" (group): renaming "./.fileRND"`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "file" (group): will create`,
- `3: sync remote: files: "file" (group): creating`,
- `4: sync remote: files: "file" (group): dry-run, skipping changes`,
+ `4: files: "file" (group): will create`,
+ `3: files: "file" (group): creating`,
+ `4: files: "file" (group): dry-run, skipping changes`,
},
nil,
},
},
safcm.MsgSyncResp{},
[]string{
- `4: sync remote: files: "file" (group): unchanged`,
+ `4: files: "file" (group): unchanged`,
},
nil,
},
},
safcm.MsgSyncResp{},
[]string{
- `4: sync remote: files: "file" (group): unchanged`,
+ `4: files: "file" (group): unchanged`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "file" (group): permission differs -rwxr-xr-x -> urwxr-xr-x`,
- `3: sync remote: files: "file" (group): updating`,
- `4: sync remote: files: "file" (group): creating temporary file ".file*"`,
- `4: sync remote: files: "file" (group): renaming "./.fileRND"`,
+ `4: files: "file" (group): permission differs -rwxr-xr-x -> urwxr-xr-x`,
+ `3: files: "file" (group): updating`,
+ `4: files: "file" (group): creating temporary file ".file*"`,
+ `4: files: "file" (group): renaming "./.fileRND"`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "file" (group): content differs`,
- `3: sync remote: files: "file" (group): updating`,
- `4: sync remote: files: "file" (group): creating temporary file ".file*"`,
- `4: sync remote: files: "file" (group): renaming "./.fileRND"`,
+ `4: files: "file" (group): content differs`,
+ `3: files: "file" (group): updating`,
+ `4: files: "file" (group): creating temporary file ".file*"`,
+ `4: files: "file" (group): renaming "./.fileRND"`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "link" (group): will create`,
- `3: sync remote: files: "link" (group): creating`,
- `4: sync remote: files: "link" (group): creating temporary symlink ".linkRND"`,
- `4: sync remote: files: "link" (group): renaming ".linkRND"`,
+ `4: files: "link" (group): will create`,
+ `3: files: "link" (group): creating`,
+ `4: files: "link" (group): creating temporary symlink ".linkRND"`,
+ `4: files: "link" (group): renaming ".linkRND"`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "link" (group): will create`,
- `3: sync remote: files: "link" (group): creating`,
- `4: sync remote: files: "link" (group): creating temporary symlink ".linkRND"`,
- `4: sync remote: files: "link" (group): creating temporary symlink ".linkRND"`,
- `4: sync remote: files: "link" (group): renaming ".linkRND"`,
+ `4: files: "link" (group): will create`,
+ `3: files: "link" (group): creating`,
+ `4: files: "link" (group): creating temporary symlink ".linkRND"`,
+ `4: files: "link" (group): creating temporary symlink ".linkRND"`,
+ `4: files: "link" (group): renaming ".linkRND"`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "link" (group): will create`,
- `3: sync remote: files: "link" (group): creating`,
- `4: sync remote: files: "link" (group): dry-run, skipping changes`,
+ `4: files: "link" (group): will create`,
+ `3: files: "link" (group): creating`,
+ `4: files: "link" (group): dry-run, skipping changes`,
},
nil,
},
},
safcm.MsgSyncResp{},
[]string{
- `4: sync remote: files: "link" (group): unchanged`,
+ `4: files: "link" (group): unchanged`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "link" (group): content differs`,
- `3: sync remote: files: "link" (group): updating`,
- `4: sync remote: files: "link" (group): creating temporary symlink ".linkRND"`,
- `4: sync remote: files: "link" (group): renaming ".linkRND"`,
+ `4: files: "link" (group): content differs`,
+ `3: files: "link" (group): updating`,
+ `4: files: "link" (group): creating temporary symlink ".linkRND"`,
+ `4: files: "link" (group): renaming ".linkRND"`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "dir" (group): will create`,
- `3: sync remote: files: "dir" (group): creating`,
- `4: sync remote: files: "dir" (group): creating directory`,
- `4: sync remote: files: "dir" (group): chmodding drwx---r-x`,
- fmt.Sprintf(`4: sync remote: files: "dir" (group): chowning %d/%d`, uid, gid),
+ `4: files: "dir" (group): will create`,
+ `3: files: "dir" (group): creating`,
+ `4: files: "dir" (group): creating directory`,
+ `4: files: "dir" (group): chmodding drwx---r-x`,
+ fmt.Sprintf(`4: files: "dir" (group): chowning %d/%d`, uid, gid),
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "dir" (group): will create`,
- `3: sync remote: files: "dir" (group): creating`,
- `4: sync remote: files: "dir" (group): dry-run, skipping changes`,
+ `4: files: "dir" (group): will create`,
+ `3: files: "dir" (group): creating`,
+ `4: files: "dir" (group): dry-run, skipping changes`,
},
nil,
},
},
safcm.MsgSyncResp{},
[]string{
- `4: sync remote: files: "dir" (group): unchanged`,
+ `4: files: "dir" (group): unchanged`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "dir" (group): permission differs dtr-x------ -> dgrwxr-xr-x`,
- `3: sync remote: files: "dir" (group): updating`,
- `4: sync remote: files: "dir" (group): chmodding dgrwxr-xr-x`,
+ `4: files: "dir" (group): permission differs dtr-x------ -> dgrwxr-xr-x`,
+ `3: files: "dir" (group): updating`,
+ `4: files: "dir" (group): chmodding dgrwxr-xr-x`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "path" (group): type differs ---------- -> d---------`,
- `3: sync remote: files: "path" (group): updating`,
- `4: sync remote: files: "path" (group): removing (due to type change)`,
- `4: sync remote: files: "path" (group): creating directory`,
- `4: sync remote: files: "path" (group): chmodding drwxr-x--x`,
- fmt.Sprintf(`4: sync remote: files: "path" (group): chowning %d/%d`, uid, gid),
+ `4: files: "path" (group): type differs ---------- -> d---------`,
+ `3: files: "path" (group): updating`,
+ `4: files: "path" (group): removing (due to type change)`,
+ `4: files: "path" (group): creating directory`,
+ `4: files: "path" (group): chmodding drwxr-x--x`,
+ fmt.Sprintf(`4: files: "path" (group): chowning %d/%d`, uid, gid),
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "path" (group): type differs ---------- -> L---------`,
- `3: sync remote: files: "path" (group): updating`,
- `4: sync remote: files: "path" (group): creating temporary symlink ".pathRND"`,
- `4: sync remote: files: "path" (group): renaming ".pathRND"`,
+ `4: files: "path" (group): type differs ---------- -> L---------`,
+ `3: files: "path" (group): updating`,
+ `4: files: "path" (group): creating temporary symlink ".pathRND"`,
+ `4: files: "path" (group): renaming ".pathRND"`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "path" (group): type differs L--------- -> ----------`,
- `3: sync remote: files: "path" (group): updating`,
- `4: sync remote: files: "path" (group): creating temporary file ".path*"`,
- `4: sync remote: files: "path" (group): renaming "./.pathRND"`,
+ `4: files: "path" (group): type differs L--------- -> ----------`,
+ `3: files: "path" (group): updating`,
+ `4: files: "path" (group): creating temporary file ".path*"`,
+ `4: files: "path" (group): renaming "./.pathRND"`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "path" (group): type differs L--------- -> d---------`,
- `3: sync remote: files: "path" (group): updating`,
- `4: sync remote: files: "path" (group): removing (due to type change)`,
- `4: sync remote: files: "path" (group): creating directory`,
- `4: sync remote: files: "path" (group): chmodding drwxr-x--x`,
- fmt.Sprintf(`4: sync remote: files: "path" (group): chowning %d/%d`, uid, gid),
+ `4: files: "path" (group): type differs L--------- -> d---------`,
+ `3: files: "path" (group): updating`,
+ `4: files: "path" (group): removing (due to type change)`,
+ `4: files: "path" (group): creating directory`,
+ `4: files: "path" (group): chmodding drwxr-x--x`,
+ fmt.Sprintf(`4: files: "path" (group): chowning %d/%d`, uid, gid),
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "path" (group): type differs d--------- -> ----------`,
- `3: sync remote: files: "path" (group): updating`,
- `4: sync remote: files: "path" (group): removing (due to type change)`,
- `4: sync remote: files: "path" (group): creating temporary file ".path*"`,
- `4: sync remote: files: "path" (group): renaming "./.pathRND"`,
+ `4: files: "path" (group): type differs d--------- -> ----------`,
+ `3: files: "path" (group): updating`,
+ `4: files: "path" (group): removing (due to type change)`,
+ `4: files: "path" (group): creating temporary file ".path*"`,
+ `4: files: "path" (group): renaming "./.pathRND"`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "path" (group): type differs d--------- -> L---------`,
- `3: sync remote: files: "path" (group): updating`,
- `4: sync remote: files: "path" (group): removing (due to type change)`,
- `4: sync remote: files: "path" (group): creating temporary symlink ".pathRND"`,
- `4: sync remote: files: "path" (group): renaming ".pathRND"`,
+ `4: files: "path" (group): type differs d--------- -> L---------`,
+ `3: files: "path" (group): updating`,
+ `4: files: "path" (group): removing (due to type change)`,
+ `4: files: "path" (group): creating temporary symlink ".pathRND"`,
+ `4: files: "path" (group): renaming ".pathRND"`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "path" (group): type differs p--------- -> ----------`,
- `3: sync remote: files: "path" (group): updating`,
- `4: sync remote: files: "path" (group): creating temporary file ".path*"`,
- `4: sync remote: files: "path" (group): renaming "./.pathRND"`,
+ `4: files: "path" (group): type differs p--------- -> ----------`,
+ `3: files: "path" (group): updating`,
+ `4: files: "path" (group): creating temporary file ".path*"`,
+ `4: files: "path" (group): renaming "./.pathRND"`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "path" (group): type differs p--------- -> L---------`,
- `3: sync remote: files: "path" (group): updating`,
- `4: sync remote: files: "path" (group): creating temporary symlink ".pathRND"`,
- `4: sync remote: files: "path" (group): renaming ".pathRND"`,
+ `4: files: "path" (group): type differs p--------- -> L---------`,
+ `3: files: "path" (group): updating`,
+ `4: files: "path" (group): creating temporary symlink ".pathRND"`,
+ `4: files: "path" (group): renaming ".pathRND"`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "path" (group): type differs p--------- -> d---------`,
- `3: sync remote: files: "path" (group): updating`,
- `4: sync remote: files: "path" (group): removing (due to type change)`,
- `4: sync remote: files: "path" (group): creating directory`,
- `4: sync remote: files: "path" (group): chmodding drwxr-x--x`,
- fmt.Sprintf(`4: sync remote: files: "path" (group): chowning %d/%d`, uid, gid),
+ `4: files: "path" (group): type differs p--------- -> d---------`,
+ `3: files: "path" (group): updating`,
+ `4: files: "path" (group): removing (due to type change)`,
+ `4: files: "path" (group): creating directory`,
+ `4: files: "path" (group): chmodding drwxr-x--x`,
+ fmt.Sprintf(`4: files: "path" (group): chowning %d/%d`, uid, gid),
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "path" (group): type differs ---------- -> L---------`,
- `3: sync remote: files: "path" (group): updating`,
- `4: sync remote: files: "path" (group): creating temporary symlink ".pathRND"`,
- `4: sync remote: files: "path" (group): renaming ".pathRND"`,
+ `4: files: "path" (group): type differs ---------- -> L---------`,
+ `3: files: "path" (group): updating`,
+ `4: files: "path" (group): creating temporary symlink ".pathRND"`,
+ `4: files: "path" (group): renaming ".pathRND"`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "file" (group): content differs`,
- `3: sync remote: files: "file" (group): updating`,
- `4: sync remote: files: "file" (group): dry-run, skipping changes`,
+ `4: files: "file" (group): content differs`,
+ `3: files: "file" (group): updating`,
+ `4: files: "file" (group): dry-run, skipping changes`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "file" (group): content differs`,
- `3: sync remote: files: "file" (group): updating`,
- `4: sync remote: files: "file" (group): dry-run, skipping changes`,
+ `4: files: "file" (group): content differs`,
+ `3: files: "file" (group): updating`,
+ `4: files: "file" (group): dry-run, skipping changes`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "file" (group): content differs`,
- `3: sync remote: files: "file" (group): updating`,
- `4: sync remote: files: "file" (group): dry-run, skipping changes`,
+ `4: files: "file" (group): content differs`,
+ `3: files: "file" (group): updating`,
+ `4: files: "file" (group): dry-run, skipping changes`,
},
nil,
},
},
},
[]string{
- `4: sync remote: files: "file" (group): content differs`,
- `3: sync remote: files: "file" (group): updating`,
- `4: sync remote: files: "file" (group): dry-run, skipping changes`,
+ `4: files: "file" (group): content differs`,
+ `3: files: "file" (group): updating`,
+ `4: files: "file" (group): dry-run, skipping changes`,
},
nil,
},