nixos/switchTest: Also test the os-release parser
This commit is contained in:
parent
73a4c4972b
commit
5c00fe6b1b
@ -502,6 +502,10 @@ in {
|
|||||||
machine.succeed(
|
machine.succeed(
|
||||||
"${stderrRunner} ${originalSystem}/bin/switch-to-configuration test"
|
"${stderrRunner} ${originalSystem}/bin/switch-to-configuration test"
|
||||||
)
|
)
|
||||||
|
# This tests whether the /etc/os-release parser works which is a fallback
|
||||||
|
# when /etc/NIXOS is missing. If the parser does not work, switch-to-configuration
|
||||||
|
# would fail.
|
||||||
|
machine.succeed("rm /etc/NIXOS")
|
||||||
machine.succeed(
|
machine.succeed(
|
||||||
"${stderrRunner} ${otherSystem}/bin/switch-to-configuration test"
|
"${stderrRunner} ${otherSystem}/bin/switch-to-configuration test"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user