summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-filelock/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-filelock/run-ptest')
-rw-r--r--meta-python/recipes-devtools/python/python3-filelock/run-ptest6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-filelock/run-ptest b/meta-python/recipes-devtools/python/python3-filelock/run-ptest
new file mode 100644
index 0000000000..88654deb70
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-filelock/run-ptest
@@ -0,0 +1,6 @@
1#!/bin/sh
2
3# Some tests require non-root
4useradd tester || echo test user exists already
5
6su tester -c "pytest --automake"