/
Copy of How to run os tests

Copy of How to run os tests

Setup VM with:

  • CPU - 4

  • Memory - 8GB

  • 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.

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.

echo "ztest ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers.d/ztest

Use this guide to prepare the VM for the test:

 

Install packages for os tests:

sudo apt update sudo apt install system-test-ostest testrunner python build-essential

Login by user ztest and run tests:

Test run script

Wait for several minutes and have found full logs at:

/var/tmp/test_results/<ISO TIME>

PS:

If the secflags_dts test failed, install the libmvec package and run the test again.

Related content

Copy of How to run libc tests
Copy of How to run libc tests
More like this
Copy of How to run elf tests
Copy of How to run elf tests
More like this
Copy of How to run dtrace tests
Copy of How to run dtrace tests
More like 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 net tests
Copy of How to run net tests
Read with this
How to run OS tests on VM environment
How to run OS tests on VM environment
More like this