/
Copy of How to run util & mdb tests
Copy of How to run util & mdb tests
Setup VM with:
CPU - 4
Memory - 8GB
Hard disk - 100GB
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 util tests:
apt update
apt install system-test-utiltest testrunner python build-essential libjedec1 libdemangle-sys1 diagnostic-pci
Login by user ztest and run tests:
/opt/util-tests/bin/utiltest
Test run script
#!/bin/bash
LOG="/var/tmp/util-test.`date "+%F-%T"`.txt"
uname -a > ${LOG}
/opt/util-tests/bin/utiltest 2>&1 | /usr/bin/tee -a ${LOG}
To run only mdb test run:
/opt/util-tests/bin/utiltest -c /opt/util-tests/runfiles/mdb.run
Test run script
#!/bin/bash
LOG="/var/tmp/mdb-test.`date "+%F-%T"`.txt"
uname -a > ${LOG}
/opt/util-tests/bin/utiltest -c /opt/util-tests/runfiles/mdb.run 2>&1 | /usr/bin/tee -a ${LOG}
Wait a few seconds and find full logs at:
/var/tmp/test_results/<ISO TIME>
Related content
Copy of How to run libc tests
Copy of How to run libc tests
More like this
How to prepare a VM for tests
How to prepare a VM for tests
More like this
Version 2
Version 2
Read with this
How to run UTIL & MDB tests on VM environment
How to run UTIL & MDB tests on VM environment
More like this
Copy of How to run os tests
Copy of How to run os tests
More like this
How to run LIBC tests on VM environment
How to run LIBC tests on VM environment
More like this