mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
nixosTests.dolibarr: fix test regression
In401e2b5e84, these sanity check curl commands were uncommented. Since this scripted install process is rather fragile, these requests change some internal state which in turn breaks the installer, because the conf.php file does not get written properly. Note that these lines have always been commented from the first commit (c2563fe476) until they were uncommented and broke the test.
This commit is contained in:
@@ -61,9 +61,6 @@
|
||||
h2o_postgresql.wait_for_open_port(80)
|
||||
|
||||
for machine in (nginx_mysql, h2o_postgresql):
|
||||
# Sanity checks on URLs.
|
||||
machine.succeed("curl -fL http://localhost/index.php")
|
||||
machine.succeed("curl -fL http://localhost/")
|
||||
# Perform installation.
|
||||
machine.succeed('curl -fL -X POST http://localhost/install/check.php -F selectlang=auto')
|
||||
machine.succeed('curl -fL -X POST http://localhost/install/fileconf.php -F selectlang=auto')
|
||||
|
||||
Reference in New Issue
Block a user