diff options
author | Ruediger Meier | 2015-12-02 15:24:27 +0100 |
---|---|---|
committer | Ruediger Meier | 2015-12-03 01:54:33 +0100 |
commit | e2142701ac6f86815dc85688efcbe1a221bef22e (patch) | |
tree | c3de16d37c58e151c6ff7301df01241360a97fb0 /tests/ts/uuid | |
parent | line: keep stdin unbuiffered (diff) | |
download | kernel-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-x | tests/ts/uuid/uuidd | 2 |
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 |