summaryrefslogtreecommitdiffstats
path: root/tests/ts/uuid
diff options
context:
space:
mode:
authorRuediger Meier2015-12-02 15:24:27 +0100
committerRuediger Meier2015-12-03 01:54:33 +0100
commite2142701ac6f86815dc85688efcbe1a221bef22e (patch)
treec3de16d37c58e151c6ff7301df01241360a97fb0 /tests/ts/uuid
parentline: keep stdin unbuiffered (diff)
downloadkernel-qcow2-util-linux-e2142701ac6f86815dc85688efcbe1a221bef22e.tar.gz
kernel-qcow2-util-linux-e2142701ac6f86815dc85688efcbe1a221bef22e.tar.xz
kernel-qcow2-util-linux-e2142701ac6f86815dc85688efcbe1a221bef22e.zip
tests: avoid sed -E
GNU sed's -E option for BSD compatibility is relatively new (>=4.2) and undocumented. Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'tests/ts/uuid')
-rwxr-xr-xtests/ts/uuid/uuidd2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ts/uuid/uuidd b/tests/ts/uuid/uuidd
index 147f289a4..17cf29d06 100755
--- a/tests/ts/uuid/uuidd
+++ b/tests/ts/uuid/uuidd
@@ -33,7 +33,7 @@ fi
test_flag() {
echo "options: $*" >> $TS_OUTPUT
$TS_CMD_UUIDD -s $UUIDD_SOCKET $* |
- sed -E '/List of UUIDs:/d; s/^[[:space:]]+//' > "$OUTPUT_FILE" 2>>$TS_OUTPUT
+ sed '/List of UUIDs:/d; s/^[[:space:]]*//' > "$OUTPUT_FILE" 2>>$TS_OUTPUT
$TS_HELPER_UUID_PARSER "$OUTPUT_FILE" >> $TS_OUTPUT 2>&1
ret=$?
if [ $ret -ne 0 ]; then