move noise sources around in tests

wlan test shows output to make it easier to see when it went wrong
main
Daniel Barlow 3 months ago
parent 225fc6fe51
commit 9f03276db8
  1. 2
      ci.nix
  2. 2
      tests/wlan/test.nix
  3. 4
      tests/wlan/wait-for-wlan.expect

@ -31,4 +31,4 @@ let
liminix-config = vanilla;
}).outputs.default;
};
in builtins.trace jobs jobs
in jobs

@ -35,5 +35,5 @@ trap fatal ERR
mkdir vm
mips-vm --background ./vm ${img}/vmlinux ${img}/squashfs
expect ${./wait-for-wlan.expect} > output && mv output $out
expect ${./wait-for-wlan.expect} |tee output && mv output $out
''

@ -3,11 +3,11 @@ set timeout 60
spawn socat unix-connect:vm/console -
send "\r\n"
expect "login:" { send "root\r\n" }
expect "/ #"
expect "#"
set FINISHED 0
set EXIT "1"
send "ls -l /run/uncaught-logs/current\r\n"
expect "/ #"
expect "#"
while { $FINISHED < 10 } {
send "grep AP-ENABLED /run/uncaught-logs/current || echo not\r\n"

Loading…
Cancel
Save