summaryrefslogtreecommitdiffstats
path: root/test cases/common/41 test args/tester.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xtest cases/common/41 test args/tester.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/test cases/common/41 test args/tester.py b/test cases/common/41 test args/tester.py
new file mode 100755
index 0000000..b5884cc
--- /dev/null
+++ b/test cases/common/41 test args/tester.py
@@ -0,0 +1,11 @@
+#!/usr/bin/env python3
+
+import sys
+import os
+
+assert os.environ['MESONTESTING'] == 'picklerror'
+assert os.environ['TEST_LIST_FLATTENING'] == '1'
+
+with open(sys.argv[1]) as f:
+ if f.read() != 'contents\n':
+ sys.exit(1)