Skip to content
  • Sebastian Stark's avatar
    Add fake_rsync program to test various rsync conditions · 8e7165eb
    Sebastian Stark authored
    usage: fake_rsync [--link-dest=LINKPATH] [--fake_stdout] [--fake_stderr] [--fake_exit=RET] [--fake_sleep=SECONDS] FROMPATH TOPATH
        LINKPATH     path that rsync would use as hardlink base
        FROMPATH     source path for rsync
        TOPATH       destination path for rsync (will actually be created as empty dir)
        RET          will return with this exit value
        SECONDS      will sleep that long each iteration
      --fake_stdout  will print something to stdout each iteration
      --fake_stderr  will print something to stderr each iteration
      -a|-v|--stats  these options are explicitly ignored
    8e7165eb