Skip to content
Commit 98419a0f authored by Samuel Dionne-Riel's avatar Samuel Dionne-Riel Committed by xeji
Browse files

nixos/tests/switch-test: Ensures the test fails on failure (#55744)

The `| tee` invocation always masked the return value of the
switch-to-configuration test.

```
~ $ false | tee && echo "oh no"
oh no
```

The added wrapper script will still output everything to stderr, while
passing failures to the test harness.
parent 4a340dbf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment