meson/unittests
Eli Schwartz f8ebfdf7b1
install modes should not apply sticky bit to files
This is generally a bad idea, e.g. it causes OSError on freebsd.

It also gets ignored by solaris and thus causes unittest failures.

The proper solution is to simply reject any attempt to set this, and log a
warning.

The install_emptydir function does apply the mode as well, and since it
is a directory it actually does something. This is the only place where
we don't reset the mode.

Although install_subdir also installs directories, and in theory it
could set the mode as well, that would be a new feature. Also it doesn't
provide much granularity and has mixed semantics with files. Better to
let people use install_emptydir + install_subdir.

Fixes #5902
2022-08-23 21:07:00 -04:00
..
allplatformstests.py introspection: untangle install_plan implemetation, fix a bunch of wrong ones 2022-08-22 14:15:22 -04:00
baseplatformtests.py deprecate running "meson builddir" without setup subcommand 2022-08-16 17:40:03 -04:00
darwintests.py editorconfig: add setting to trim trailing whitespace 2021-08-15 09:36:18 -04:00
datatests.py docs: Add documentation on pkgconfig.relocatable 2022-04-19 17:35:08 -04:00
failuretests.py Reword message in warning 2022-05-19 07:18:43 -04:00
helpers.py unittests: Fix rpath tests no nixos 2022-03-22 15:15:29 +02:00
internaltests.py unittests: Add additional tests for KwargInfo::since values 2022-08-18 21:57:36 -04:00
linuxcrosstests.py Condense test directory names. 2022-03-29 02:12:02 +03:00
linuxliketests.py install modes should not apply sticky bit to files 2022-08-23 21:07:00 -04:00
machinefiletests.py Condense test directory names. 2022-03-29 02:12:02 +03:00
platformagnostictests.py Fix test case numbers. 2022-07-07 10:04:51 -07:00
pythontests.py Add regression test for Python dist. 2022-04-13 21:27:22 +03:00
rewritetests.py unittests: Fix warning about distutils deprecation 2022-01-30 02:13:42 +05:30
subprojectscommandtests.py tests: when generating git repositories, make sure that pgpsign is off 2021-09-03 14:14:15 -04:00
taptests.py mtest: ignore invalid input 2022-05-24 20:15:34 +03:00
windowstests.py Condense test directory names. 2022-03-29 02:12:02 +03:00