-case `id -u` in
-'') ;; # If "id" failed, try to continue...
-0) ;;
-*) if [ -f /usr/bin/fakeroot ]; then
- echo "Let's try re-running the script under fakeroot..."
- exec /usr/bin/fakeroot /bin/sh $RUNSHFLAGS "$0"
- fi
-
- # If we can't test the real device code, try to test --fake-super instead
- $RSYNC --version | grep ", xattrs" >/dev/null || test_skipped "Rsync needs root/fakeroot/--fake-super for device tests"