Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 889c72032f85
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 5e7bf8c5e9da
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 3, 2018

  1. nixos/tests/misc: Fix reboot-wtmp subtest

    From commit b63f65a:
    
      I used tmpfiles.d instead of activation snippets to create the logs.
      It's good enough for upstream and other distros; it's probably good
      enough for us.
    
    The "reboot-wtmp" subtest fails because it it assumes that there is a
    reboot record even on the initial boot. This is only the case if wtmp is
    created within the activation script, but the implementation now uses
    tmpfiles.d, so the creation of the file is done at a much later stage.
    
    Apart from that, if you think about the state after the installation as
    "first boot", using the term "reboot" wouldn't probably make sense
    either.
    
    So in our subtest, we now reboot the machine and check the wtmp record
    afterwards as we did before.
    
    Signed-off-by: aszlig <aszlig@nix.build>
    Cc: @edolstra, @jameysharp, @Mic92
    aszlig committed Oct 3, 2018
    Copy the full SHA
    5e7bf8c View commit details
    Browse the repository at this point in the history