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:

Test run script

To run only mdb test run:

Test run script

Wait a few seconds and find full logs at:

/var/tmp/test_results/<ISO TIME>