summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cb984e6)
without being root (like cygwin) because rsync won't copy the
devices if it is not root.
fromdir="$scratchdir/from"
todir="$scratchdir/to"
fromdir="$scratchdir/from"
todir="$scratchdir/to"
+case `id -u` in
+'') ;; # If "id" failed, try to continue...
+0) ;;
+*) test_skipped "Rsync won't copy devices unless we're root" ;;
+esac
+
# TODO: Need to test whether hardlinks are possible on this OS/filesystem
mkdir "$fromdir"
# TODO: Need to test whether hardlinks are possible on this OS/filesystem
mkdir "$fromdir"