update defconfig test
Related: RHEL-39976
This commit is contained in:
parent
0ea33e834d
commit
d42124a3dc
@ -12,12 +12,15 @@ eth=eth$i
|
|||||||
|
|
||||||
tmpconf=$(mktemp)
|
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 || :)
|
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 "created num_devices:"
|
||||||
echo "$out" | grep -q "dpll mon for synce1 new state"
|
echo "$out" | grep -q "synce_manager_server_thread Bind failed"
|
||||||
|
|
||||||
echo "unknownoption 1" >> "$tmpconf"
|
echo "unknownoption 1" >> "$tmpconf"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user