summaryrefslogtreecommitdiffstats
path: root/tests/quit_pyload.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/quit_pyload.sh')
-rwxr-xr-xtests/quit_pyload.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/quit_pyload.sh b/tests/quit_pyload.sh
new file mode 100755
index 000000000..3bfb3e13a
--- /dev/null
+++ b/tests/quit_pyload.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+PYTHON=python
+which python2 > /dev/null && PYTHON=python2
+$PYTHON pyload.py --configdir=tests/config --quit
+if [ -d userplugins ]; then
+ rm -r userplugins
+fi \ No newline at end of file