mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
s4:torture: Skip the deltest20 as user root
The test is meant to be run as a user and not root. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14257 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Thu Jan 30 16:54:33 UTC 2020 on sn-devel-184
This commit is contained in:
parent
3d40efaed8
commit
677bc1b184
@ -1865,6 +1865,10 @@ static bool deltest20(struct torture_context *tctx, struct smbcli_state *cli1, s
|
||||
NTSTATUS status;
|
||||
int ret;
|
||||
|
||||
if (geteuid() == 0) {
|
||||
torture_skip(tctx, "This test doesn't work as user root.");
|
||||
}
|
||||
|
||||
del_clean_area(cli1, cli2);
|
||||
|
||||
/* Test 20 -- non-empty directory hardest to get right... */
|
||||
|
Loading…
x
Reference in New Issue
Block a user