From 9632a64b478ae873e2653101b878a8071d6daaf8 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Wed, 3 Jan 2024 19:40:00 +0000 Subject: [PATCH] tftpboot: don't rely on hostname being set --- tests/tftpboot/script.expect | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tftpboot/script.expect b/tests/tftpboot/script.expect index 63d54e2..3b19684 100644 --- a/tests/tftpboot/script.expect +++ b/tests/tftpboot/script.expect @@ -20,11 +20,11 @@ expect { } expect { - "#" { send "test -f /proc/device-tree/reserved-memory/phram-rootfs*/name && hostname \r" } + "#" { send "test -f /proc/device-tree/reserved-memory/phram-rootfs*/name && uname \r" } timeout { exit 1 } } expect { - "tftpboot-test" { exit 0 } + "Linux" { exit 0 } timeout { exit 1 } } \ No newline at end of file