forked from DGNum/liminix
make reserved-memory work on mips, and improve test
This commit is contained in:
parent
dbb82339bd
commit
231c2cef03
2 changed files with 17 additions and 5 deletions
|
@ -14,9 +14,17 @@ while {[gets $fh line] >= 0} {
|
|||
close $fh
|
||||
|
||||
expect {
|
||||
"s6-linux-init" { exit 0 }
|
||||
"s6-linux-init" { }
|
||||
"Reserved memory: unsupported node format, ignoring" { exit 1 }
|
||||
timeout { exit 1 }
|
||||
}
|
||||
|
||||
expect {
|
||||
"#" { send "test -f /proc/device-tree/reserved-memory/phram-rootfs*/name && tty \r" }
|
||||
timeout { exit 1 }
|
||||
}
|
||||
|
||||
expect {
|
||||
"/dev/ttyS0" { exit 0 }
|
||||
timeout { exit 1 }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue