From ffef31459ac7f93aed0c4f54e5a7700c199372cb Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sun, 18 Aug 2019 13:11:51 +0200 Subject: [PATCH] nixosTests.systemd: remove duplicate copypasta It seems the regression test for #35268 sneaked in twice. --- nixos/tests/systemd.nix | 9 --------- 1 file changed, 9 deletions(-) diff --git a/nixos/tests/systemd.nix b/nixos/tests/systemd.nix index fadea52f1dbc..344d675c5fe2 100644 --- a/nixos/tests/systemd.nix +++ b/nixos/tests/systemd.nix @@ -78,15 +78,6 @@ import ./make-test.nix ({ pkgs, ... }: { $machine->fail('dumpe2fs /dev/vdb | grep -q "^Last mount time: *n/a"'); }; - # Regression test for https://github.com/NixOS/nixpkgs/issues/35268 - subtest "file system with x-initrd.mount is not unmounted", sub { - $machine->shutdown; - $machine->waitForUnit('multi-user.target'); - # If the file system was unmounted during the shutdown the file system - # has a last mount time, because the file system wasn't checked. - $machine->fail('dumpe2fs /dev/vdb | grep -q "^Last mount time: *n/a"'); - }; - subtest "systemd-shutdown works", sub { $machine->shutdown; $machine->waitForUnit('multi-user.target');