Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Setup VM with:

  • 8GB RAM

  • 2GB swap

  • 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 os tests:

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

Login by user ztest and run tests:

sudo /opt/os-tests/bin/ostest

Test run script

#!/bin/bash

LOG="/var/tmp/dtrace-test.`date "+%F-%T"`.txt"

sudo /opt/os-tests/bin/ostest -d /var/tmp 2>&1 | /usr/bin/tee ${LOG}

Wait for several minutes and have found full logs at:

/var/tmp/test_results/<ISO TIME>

  • No labels