summaryrefslogtreecommitdiffstats
path: root/debian/tests/quorumtool
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 17:01:25 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 17:01:25 +0000
commit118ef9d7c2944b014d01440ebef86f8aed8045d6 (patch)
tree5e757b39d2dfda3827d839f35f885bea810bcdce /debian/tests/quorumtool
parentAdding upstream version 3.1.8. (diff)
downloadcorosync-118ef9d7c2944b014d01440ebef86f8aed8045d6.tar.xz
corosync-118ef9d7c2944b014d01440ebef86f8aed8045d6.zip
Adding debian version 3.1.8-1.debian/3.1.8-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/quorumtool')
-rwxr-xr-xdebian/tests/quorumtool9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/tests/quorumtool b/debian/tests/quorumtool
new file mode 100755
index 0000000..26b7b38
--- /dev/null
+++ b/debian/tests/quorumtool
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+OUTPUT="${AUTOPKGTEST_ARTIFACTS:-.}/quorumtool.txt"
+
+corosync-quorumtool >"$OUTPUT"
+cat "$OUTPUT"
+grep -q ' 1 node1 (local)' "$OUTPUT"