Debian Codegraph @

tests/kern/t28

raw
1 #!/bin/bash -e
2
3 echo rsync /etc to mntdir
4 rsync -a /etc $PATH_MNTDIR/
5
6 # N.B. will report missing file
7 # will not report (but silently fix) an incorrect mode
8
9 echo rsync /etc to mntdir again - should be silent
10 rsync -avc /etc $PATH_MNTDIR/ | egrep -v '^(sent|total).*'
11
12 echo rsync /etc to expdir - should be silent
13 rsync -avc /etc $PATH_EXPDIR/ | egrep -v '^(sent|total).*'