git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ctdb-tests: Avoid bulk output in $out, prefer $outfile
[vlendec/samba-autobuild/.git]
/
ctdb
/
tests
/
simple
/
35_ctdb_getreclock.sh
diff --git
a/ctdb/tests/simple/35_ctdb_getreclock.sh
b/ctdb/tests/simple/35_ctdb_getreclock.sh
index 0a2f3d5b92e72912566bd33debc5269bdb2db4ca..8cedd34045b37f85e86dcf113d1c1e45146bf1aa 100755
(executable)
--- a/
ctdb/tests/simple/35_ctdb_getreclock.sh
+++ b/
ctdb/tests/simple/35_ctdb_getreclock.sh
@@
-25,7
+25,7
@@
if [ -z "$out" ] ; then
exit 0
fi
-n=$(
echo "$out" | sort -u
| wc -l)
+n=$(
sort -u "$outfile"
| wc -l)
if [ "$n" = 1 ] ; then
echo "GOOD: All nodes have the same recovery lock setting"
else