summaryrefslogtreecommitdiffstats
path: root/testsuite/dwz.tests/version.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--testsuite/dwz.tests/version.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/dwz.tests/version.sh b/testsuite/dwz.tests/version.sh
new file mode 100644
index 0000000..fb000c7
--- /dev/null
+++ b/testsuite/dwz.tests/version.sh
@@ -0,0 +1,9 @@
+cp $execs/hello 1
+
+dwz -v 1 > dwz.out 2> /dev/null
+
+grep -q "dwz version" dwz.out
+
+cmp 1 $execs/hello
+
+rm -f 1 dwz.out