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