diff options
author | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-11-09 13:27:02 +0100 |
---|---|---|
committer | Frantisek Sumsal <frantisek@sumsal.cz> | 2023-11-09 13:30:53 +0100 |
commit | 1bc4463351601a6b58c0ca03000fc6da86b0921e (patch) | |
tree | 7b1af5d1a06a142939d07e37833948b3f864d75d /test | |
parent | journal: recalculate line_max when stdout stream state changes (diff) | |
download | systemd-1bc4463351601a6b58c0ca03000fc6da86b0921e.tar.xz systemd-1bc4463351601a6b58c0ca03000fc6da86b0921e.zip |
test: drop the workaround for unexpected newlines
Diffstat (limited to 'test')
-rwxr-xr-x | test/units/testsuite-45.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/units/testsuite-45.sh b/test/units/testsuite-45.sh index dc50da7a38..b814e4cbd2 100755 --- a/test/units/testsuite-45.sh +++ b/test/units/testsuite-45.sh @@ -224,7 +224,7 @@ assert_timedated_signal() { for _ in {0..9}; do if journalctl "${args[@]}" --grep .; then - [[ "$(journalctl "${args[@]}" -o cat | tr -d '\n' | jq -r '.payload.data[1].NTP.data')" == "$value" ]]; + [[ "$(journalctl "${args[@]}" -o cat | jq -r '.payload.data[1].NTP.data')" == "$value" ]]; return 0 fi @@ -304,7 +304,7 @@ assert_timesyncd_signal() { for _ in {0..9}; do if journalctl "${args[@]}" --grep .; then - [[ "$(journalctl "${args[@]}" -o cat | tr -d '\n' | jq -r ".payload.data[1].$property.data | join(\" \")")" == "$value" ]]; + [[ "$(journalctl "${args[@]}" -o cat | jq -r ".payload.data[1].$property.data | join(\" \")")" == "$value" ]]; return 0 fi |