add CI test for jffs2

This commit is contained in:
Daniel Barlow
2023-04-06 20:58:26 +01:00
parent 54a1ab3529
commit db54c877d6
4 changed files with 63 additions and 0 deletions

11
tests/jffs2/script.expect Normal file
View File

@@ -0,0 +1,11 @@
set timeout 10
spawn socat unix-connect:vm/console -
send "\r\n"
expect "login:" { send "root\r\n" }
expect "#"
send "echo HELLO WORLD > /hello\r\n"
expect "#"
send "cat /hello\r\n"
expect 'HELLO WORLD'
close