Fix broken example.org certificate test failures
At some point example.org changed something about their certificate chain and causes `curl https://example.org` to fail on NixOS systems. For now, I'm going to use `https://alexdav.id`.
This commit is contained in:
parent
c141cf8cc6
commit
2ec4595d3b
1 changed files with 4 additions and 4 deletions
|
|
@ -108,12 +108,12 @@ spec = parallel $ inTestM $ do
|
|||
out <-
|
||||
runNixDrv
|
||||
[i|
|
||||
jail "test" (sh ''curl https://example.org'') (c: [
|
||||
jail "test" (sh ''curl https://alexdav.id'') (c: [
|
||||
(c.add-pkg-deps [ pkgs.curl ])
|
||||
c.network
|
||||
])
|
||||
|]
|
||||
liftIO $ out `shouldContain` "<h1>Example Domain</h1>"
|
||||
liftIO $ out `shouldContain` "jail.nix"
|
||||
|
||||
it "allows overriding the hostname with set-hostname" $ do
|
||||
[i|
|
||||
|
|
@ -151,12 +151,12 @@ spec = parallel $ inTestM $ do
|
|||
runNixDrvWithinVm
|
||||
[i| { services.resolved.enable = true; } |]
|
||||
[i|
|
||||
jail "test" (sh ''curl https://example.org'') (c: [
|
||||
jail "test" (sh ''curl https://alexdav.id'') (c: [
|
||||
(c.add-pkg-deps [ pkgs.curl ])
|
||||
c.network
|
||||
])
|
||||
|]
|
||||
liftIO $ out `shouldContain` "<h1>Example Domain</h1>"
|
||||
liftIO $ out `shouldContain` "jail.nix"
|
||||
|
||||
describe "no-die-with-parent" $ do
|
||||
let waitForChildPid :: Process.Pid -> TestM Process.Pid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue