Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Linux does not have whiteout device type
Baptiste Daroussin committed 10 years ago
commit 9af2287138a3d9f0622f13b93141a16107b474b1
parent 4998a90
1 file changed +4 -0
modified tests/lib/pkg_printf_test.c
@@ -783,7 +783,11 @@ ATF_TC_BODY(mode_val, tc)
		{ 0100000, "---------- ", 0, PP_ALTERNATE_FORM1, }, /* Regular file */
		{ 0120000, "l--------- ", 0, PP_ALTERNATE_FORM1, }, /* Sym-link */
		{ 0140000, "s--------- ", 0, PP_ALTERNATE_FORM1, }, /* socket */
+
#ifndef __linux__
		{ 0160000, "w--------- ", 0, PP_ALTERNATE_FORM1, }, /* whiteout */
+
#else
+
		{ 0160000, "?--------- ", 0, PP_ALTERNATE_FORM1, }, /* whiteout */
+
#endif

		{ 0010000, "10000",  0, PP_EXPLICIT_PLUS, }, /* FIFO */
		{ 0020000, "20000",  0, PP_EXPLICIT_PLUS, }, /* Char special */