Setup VM with:
CPU - 4
Memory - 8GB RAM2GB swap
Hard disk - 100GB
Have to use DEBUG build, where we have debug macro
Create user:
if you created a user at the vm preparation stage, then skip this step.
Code Block |
---|
sudo useradd -m -d /var/ztest -g staff -s /bin/bash ztest # add password for remote ssh sudo passwd ztest |
Add user to sudo:
if you created a user at the vm preparation stage, then skip this step.
Code Block |
---|
echo "ztest ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers.d/ztest |
Install packages for os tests:
Code Block |
---|
sudo apt update sudo apt install system-test-elftest testrunner python build-essential |
Login by user ztest and run tests:
Code Block |
---|
sudo /opt/elf-tests/bin/elftest |
Test run script
Code Block | ||
---|---|---|
| ||
#!/bin/bash LOG="/var/tmp/dtrace-testelftest.`date "+%F-%T"`.txt" uname -a > ${LOG} sudo /opt/elf-tests/bin/elftest -d /var/tmp 2>&1 | /usr/bin/tee -a ${LOG} |
Wait for several minutes and have found full logs at:
...