Setup VM with: CPU - 4 Memory - 8GB Hard disk - 100GB (for software installation) SATA
Have to use DEBUG build, where we have debug macro
Create user:
sudo useradd -m -d /var/ztest -g staff -s /bin/bash ztest # add password for remote ssh sudo passwd ztest
Add user to sudo:
echo "ztest ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers.d/ztest
Install packages for libc tests:
apt update apt install system-test-libctest testrunner python build-essential
Login by user ztest and run tests:
sudo /opt/libc-tests/bin/libctest
Wait for about 5 minutes and found full logs at:
/var/tmp/test_results/<ISO TIME>
Test run script
#!/bin/bash LOG="/var/tmp/libc-test.`date "+%F-%T"`.txt" /opt/libc-tests/bin/libctest 2>&1 | /usr/bin/tee ${LOG}