summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorFrantisek Sumsal <frantisek@sumsal.cz>2023-11-09 13:27:02 +0100
committerFrantisek Sumsal <frantisek@sumsal.cz>2023-11-09 13:30:53 +0100
commit1bc4463351601a6b58c0ca03000fc6da86b0921e (patch)
tree7b1af5d1a06a142939d07e37833948b3f864d75d /test
parentjournal: recalculate line_max when stdout stream state changes (diff)
downloadsystemd-1bc4463351601a6b58c0ca03000fc6da86b0921e.tar.xz
systemd-1bc4463351601a6b58c0ca03000fc6da86b0921e.zip
test: drop the workaround for unexpected newlines
Diffstat (limited to 'test')
-rwxr-xr-xtest/units/testsuite-45.sh4
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