diff --git a/tests/pkg_jsmn/Makefile b/tests/pkg_jsmn/Makefile
index 9721c5b3360c4717d5ac6e29d50ba9b6b041ac0b..f12a7b906bf07a9b742cf44132526eb87284d79a 100644
--- a/tests/pkg_jsmn/Makefile
+++ b/tests/pkg_jsmn/Makefile
@@ -4,3 +4,6 @@ include ../Makefile.tests_common
 USEPKG += jsmn
 
 include $(RIOTBASE)/Makefile.include
+
+test:
+	tests/01-run.py
diff --git a/tests/pkg_jsmn/tests/01-run.py b/tests/pkg_jsmn/tests/01-run.py
new file mode 100755
index 0000000000000000000000000000000000000000..f4c8a7d1d7dc69353451db0bddd5e7d525f8ee71
--- /dev/null
+++ b/tests/pkg_jsmn/tests/01-run.py
@@ -0,0 +1,22 @@
+#!/usr/bin/env python3
+
+import os
+import sys
+import math
+
+sys.path.append(os.path.join(os.environ['RIOTBASE'], 'dist/tools/testrunner'))
+import testrunner
+
+
+def testfunc(child):
+    child.expect_exact('- User: johndoe')
+    child.expect_exact('- Admin: false')
+    child.expect_exact('- UID: 1000')
+    child.expect_exact('- Groups:')
+    child.expect_exact('  * users')
+    child.expect_exact('  * wheel')
+    child.expect_exact('  * audio')
+    child.expect_exact('  * video')
+
+if __name__ == "__main__":
+    sys.exit(testrunner.run(testfunc))