Avoid -u option to id since solaris doesn't support it.
[rsync/rsync.git] / testsuite / daemon.test
index 2d00353..4fe94b2 100644 (file)
@@ -42,7 +42,7 @@ cd "$scratchdir"
 ln -s test-rsyncd.conf rsyncd.conf
 
 confopt=''
-case `id -u` in
+case `get_testuid` in
 0)
     # Root needs to specify the config file, or it uses /etc/rsyncd.conf.
     echo "Forcing --config=$conf"