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"