diff options
author | Wayne Davison <wayne@opencoder.net> | 2020-07-06 00:00:36 -0700 |
---|---|---|
committer | Wayne Davison <wayne@opencoder.net> | 2020-07-06 00:05:46 -0700 |
commit | 59cb358fda0e5281bcd89f23cc24bc54bb517567 (patch) | |
tree | 46e6a76f88a5343f4392a8439fa6a72cc961c420 /testsuite/daemon.test | |
parent | bb16db1747e1119e3cbdbcee6d47ecd68def66cc (diff) | |
download | rsync-59cb358fda0e5281bcd89f23cc24bc54bb517567.tar.gz |
More TANDEM changes
- Handle a non-0 root uid.
- Handle alternate major/minor/MAKEDEV funcs.
- Other misc compatibility tweaks.
Diffstat (limited to 'testsuite/daemon.test')
-rw-r--r-- | testsuite/daemon.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/testsuite/daemon.test b/testsuite/daemon.test index a736ee83..836ce33b 100644 --- a/testsuite/daemon.test +++ b/testsuite/daemon.test @@ -41,14 +41,14 @@ cd "$scratchdir" ln -s test-rsyncd.conf rsyncd.conf +my_uid=`get_testuid` +root_uid=`get_rootuid` confopt='' -case `get_testuid` in -0) +if test x"$my_uid" = x"$root_uid"; then # Root needs to specify the config file, or it uses /etc/rsyncd.conf. echo "Forcing --config=$conf" confopt=" --config=$conf" - ;; -esac +fi # These have a space-padded 15-char name, then a tab, then a comment. sed 's/NOCOMMENT//' <<EOT >"$chkfile" |