File: quorumtool

package info (click to toggle)
corosync 3.1.9-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,432 kB
  • sloc: ansic: 44,925; sh: 11,532; makefile: 646
file content (9 lines) | stat: -rwxr-xr-x 154 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#!/bin/sh

set -e

OUTPUT="${AUTOPKGTEST_ARTIFACTS:-.}/quorumtool.txt"

corosync-quorumtool >"$OUTPUT"
cat "$OUTPUT"
grep -q ' 1 node1 (local)' "$OUTPUT"