Remove skip test for the DISABLE_OPATH case.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14816
RN: Fix pathref open of a filesystem fifo in the DISABLE_OPATH build
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Sep 6 09:51:54 UTC 2021 on sn-devel-184
# These fail because become_root() doesn't work in make test
^samba3.blackbox.dropbox.*
^samba3.raw.samba3hide.*
-# This fails because of BUG: https://bugzilla.samba.org/show_bug.cgi?id=14816
-# which causes the server to hang when trying to open a pathref fifo without O_PATH.
-# We need to add O_NONBLOCK to make this work.
-^samba3.blackbox.fifo
}
}
+ if (S_ISFIFO(smb_fname->st.st_ex_mode)) {
+ open_flags |= O_NONBLOCK;
+ }
+
status = fd_openat(dirfsp, smb_fname, fsp, open_flags, 0);
if (!NT_STATUS_IS_OK(status)) {
if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_FOUND) ||