summaryrefslogtreecommitdiffstats
path: root/test cases/common/26 find program/print-version.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test cases/common/26 find program/print-version.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test cases/common/26 find program/print-version.py b/test cases/common/26 find program/print-version.py
new file mode 100644
index 0000000..4a78e5b
--- /dev/null
+++ b/test cases/common/26 find program/print-version.py
@@ -0,0 +1,8 @@
+#!/usr/bin/env python3
+
+import sys
+
+if len(sys.argv) != 2 or sys.argv[1] != '--version':
+ exit(1)
+
+print('1.0')