commit 9632a64b478ae873e2653101b878a8071d6daaf8 parent fc5def2e158b603c76e7295e74c7466faca9a355 Author: Daniel Barlow <dan@telent.net> Date: Wed, 3 Jan 2024 19:40:00 +0000 tftpboot: don't rely on hostname being set Diffstat:
| M | tests/tftpboot/script.expect | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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