blob: fd1ddc589610ef430d4b30ba4b26096ad0c7d905 (
plain)
1
2
3
4
5
6
7
8
|
#!/bin/sh
# Some tests require non-root
useradd tester || echo test user exists already
# tester can't write pytest's cache dir under the read-only-to-them
# /usr/lib/python3-filelock/ptest install path; disable it, it's not needed
su tester -c "pytest --automake -p no:cacheprovider"
|