build-gnu.sh: Don't symlink missing bins to false and force enable tests#9314
build-gnu.sh: Don't symlink missing bins to false and force enable tests#9314oech3 wants to merge 4 commits intouutils:mainfrom
Conversation
|
GNU testsuite comparison: |
|
It is also false-negative.
… Congrats! The gnu test tests/runcon/runcon-no-reorder is no longer failing!
|
|
@pixelb Would you add |
This would be confusing, as then folks may think selinux is required for basic runcon and chcon operation. symlinking the binaries to false seems unusual BTW. Can you not just not have them present if they're no supported? |
It causes another side effect at #9314 (comment) |
|
Is this is breaking |
|
GNU testsuite comparison: |
|
GNU testsuite comparison: |
|
Lines 238 to 239 in b37da0a ?! |
What is going on here? |
|
GNU no longer builds runcon and chcon in the non-SELinux system and it affects to GNU test suite.
I guess those results were produced since uutils test suite wrapper was matched to the GNU's behavior by this MR. I think ther are making sense by that reason.
|
|
I guess I guess |
|
GNU testsuite comparison: |
|
I merged #9455 to this PR. #9314 (comment) is natural result (for Would you merge this? |
|
@pixelb You said So is test suite incomplete |
Right. One needs to now manually enable arch,hostname,kill,uptime |
|
#9314 (comment) is useless for some case? |
Oh right, that's commented out. With that you wouldn't need to explicitly enable arch,kill,... in the build |
|
Thankyou. On the other hand, disabling every binaries with the |
|
I'll remake this after fixed |
How about making(detatching) a basic operation or stub specific GNU test and marking |
Done in coreutils/coreutils@8f4a0095a |
|
Thankyou. I'm not sure why uutils was incorrectly passing it. Maybe, the test has 2 different meaning for real runcon and stub runcon, (and previously passing later in a proper sense?)
|
GNU test suite auto-disables tests for misssing binaries. Symlinking them to
falsecause unwanted failures (e.g. runcon error withSELINUX_ENABLED=0).