UBUNTU: SAUCE: gethostname: Fix ENAMETOOLONG on 64 character hostnames
HOST_NAME_MAX does not include the null terminator, so the hostname
buffer in gethostname02.c needs an extra character of space to support
maximum length hostnames.
Signed-off-by: Ian Whitfield <email address hidden>
Acked-by: Po-Hsu Lin <email address hidden>
Signed-off-by: Po-Hsu Lin <email address hidden>
Rebased on top of upstream head commit:
48dda81b15 ima_setup.sh: Quit testing when failed to get digest
Update Note:
* This update fixes the following issues:
- LP: #2092274 CONFIG_MODULE_SIG_FORCE can make tests fail
- LP: #2093865 setsockopt06 and writev03 from ubuntu_ltp_syscalls timeout on N/O
- LP: #2084410 sched:starvation - TFAIL: Scheduller starvation reproduced
- LP: #2089809 logrotate_sh in commands of ubuntu_ltp_stable failed
* This update has revealed the following issues:
- LP: #2093235 hugemmap34 from ubuntu_ltp_stable/hugetlb failed on B/F/J PowerPC
- LP: #2093139 listmount04 from ubuntu_ltp_syscalls failed on Noble
* sru-trusty branch is not be updated.
This verification helps 1) see if anything broke 2) be able to run in CI.
Also:
1) Allow to run tests outside of the test directory (call just by
relative PATH).
2) Allow to pass build directory (useful for out of tree build).
Link: https://<email address hidden>/
Reviewed-by: Li Wang <email address hidden>
Signed-off-by: Petr Vorel <email address hidden>
ci: Run docker as privileged to enable loop device
This allows to enable more shell tests.
Remaining shell tests would require to allow other exit code than 0
(TPASS) or 32 (TCONF). Also script do not expect combination more results flags
(e.g. TPASS and TWARN), it complains "Error: unknown failure, exit code: ..."
To fix this would would require to check exit code.
Link: https://<email address hidden>/
Reviewed-by: Li Wang <email address hidden>
Signed-off-by: Petr Vorel <email address hidden>