blob: d8d5e7bd0865e80438d4cceb20c666fc9c055fef [file] [log] [blame] [edit]
#!/bin/sh
# Not all tests can run as root
useradd tester || echo test user already exists
# The test are running in /tmp folder by default, but
# the tests expect the test folder to be a regular folder, not
# a mount/symlink. Specify the TMP folder explicitly.
export TMP=/var/volatile/tmp
su tester -c "pytest --automake"