git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f5ed2b
)
ctdb-tests: Strip all spaces from od output
author
Amitay Isaacs
<amitay@gmail.com>
Thu, 19 Jul 2018 07:41:55 +0000
(17:41 +1000)
committer
Martin Schwenke
<martins@samba.org>
Sat, 28 Jul 2018 01:50:11 +0000
(
03:50
+0200)
On freebsd, there are trailing spaces in od output.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13520
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Martin Schwenke <martin@meltin.net>
ctdb/tests/takeover_helper/scripts/local.sh
patch
|
blob
|
history
diff --git
a/ctdb/tests/takeover_helper/scripts/local.sh
b/ctdb/tests/takeover_helper/scripts/local.sh
index 40ba617573a6bf8f40ba35954a7800d15443d181..bdbff9a4dcaa22c5b566b3ac23e8f2c94d720872 100644
(file)
--- a/
ctdb/tests/takeover_helper/scripts/local.sh
+++ b/
ctdb/tests/takeover_helper/scripts/local.sh
@@
-88,7
+88,7
@@
takeover_helper_out="${TEST_VAR_DIR}/takover_helper.out"
takeover_helper_format_outfd ()
{
- od -A n -t d4 "$takeover_helper_out" | sed -e 's|
^[[:space:]]*||
'
+ od -A n -t d4 "$takeover_helper_out" | sed -e 's|
[[:space:]]*||g
'
}
test_takeover_helper ()