Avoid -u option to id since solaris doesn't support it.
[rsync.git] / testsuite / devices.test
index 514005507ec66d1905ffb167a660bd5ad5aaf32d..bb73aad39555b7c3ed79c95f62d8948a8d03eb38 100644 (file)
@@ -51,7 +51,7 @@ case $0 in
     esac
     ;;
 *)
-    case `id -u` in
+    case `get_testuid` in
     '') ;; # If "id" failed, try to continue...
     0)  ;;
     *)  if [ -f /usr/bin/fakeroot ]; then