From d42124a3dc9821c281174cecd60792be2b0f2e2d Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Wed, 5 Jun 2024 15:02:44 +0200 Subject: [PATCH] update defconfig test Related: RHEL-39976 --- tests/defconfig/runtest.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tests/defconfig/runtest.sh b/tests/defconfig/runtest.sh index 1ba2687..a74d1b5 100755 --- a/tests/defconfig/runtest.sh +++ b/tests/defconfig/runtest.sh @@ -12,12 +12,15 @@ eth=eth$i tmpconf=$(mktemp) -sed "s/^\[ens.*\]/\[eth$i\]/" < /etc/synce4l.conf > "$tmpconf" +sed \ + -e "s/^\[ens.*\]/\[eth$i\]/" \ + -e "s|/run/synce4l_socket|/doesnotexist/synce4l_socket|" \ + < /etc/synce4l.conf > "$tmpconf" out=$(timeout -s 9 5 synce4l -m -q -l 7 -f "$tmpconf" 2>&1 || :) -echo "$out" | grep -q "config item synce1" -echo "$out" | grep -q "dpll mon for synce1 new state" +echo "$out" | grep -q "created num_devices:" +echo "$out" | grep -q "synce_manager_server_thread Bind failed" echo "unknownoption 1" >> "$tmpconf"