summary refs log tree commit diff
path: root/nixos/tests/roundcube.nix
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2019-11-09 07:20:00 +0100
committerVladimír Čunát <v@cunat.cz>2019-11-09 07:26:53 +0100
commit457e94d9008a55f0302100b00b77ea9ea478eaef (patch)
treefa6c4caad3cd47fcff78421a553086cd49dc9f54 /nixos/tests/roundcube.nix
parent4fc27edf074b63a46782832279f8ac1c27b43829 (diff)
parent5e70be026ee4eb05ed1c25d659848ab2f7102100 (diff)
downloadnixpkgs-457e94d9008a55f0302100b00b77ea9ea478eaef.tar
nixpkgs-457e94d9008a55f0302100b00b77ea9ea478eaef.tar.gz
nixpkgs-457e94d9008a55f0302100b00b77ea9ea478eaef.tar.bz2
nixpkgs-457e94d9008a55f0302100b00b77ea9ea478eaef.tar.lz
nixpkgs-457e94d9008a55f0302100b00b77ea9ea478eaef.tar.xz
nixpkgs-457e94d9008a55f0302100b00b77ea9ea478eaef.tar.zst
nixpkgs-457e94d9008a55f0302100b00b77ea9ea478eaef.zip
Merge branch 'master' into staging-next
~4k rebuilds on each Linux.
Diffstat (limited to 'nixos/tests/roundcube.nix')
-rw-r--r--nixos/tests/roundcube.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/nixos/tests/roundcube.nix b/nixos/tests/roundcube.nix
index ed0ebd7dd19..4f2560ce8c2 100644
--- a/nixos/tests/roundcube.nix
+++ b/nixos/tests/roundcube.nix
@@ -1,4 +1,4 @@
-import ./make-test.nix ({ pkgs, ...} : {
+import ./make-test-python.nix ({ pkgs, ...} : {
   name = "roundcube";
   meta = with pkgs.stdenv.lib.maintainers; {
     maintainers = [ globin ];
@@ -21,10 +21,10 @@ import ./make-test.nix ({ pkgs, ...} : {
   };
 
   testScript = ''
-    $roundcube->start;
-    $roundcube->waitForUnit("postgresql.service");
-    $roundcube->waitForUnit("phpfpm-roundcube.service");
-    $roundcube->waitForUnit("nginx.service");
-    $roundcube->succeed("curl -sSfL http://roundcube/ | grep 'Keep me logged in'");
+    roundcube.start
+    roundcube.wait_for_unit("postgresql.service")
+    roundcube.wait_for_unit("phpfpm-roundcube.service")
+    roundcube.wait_for_unit("nginx.service")
+    roundcube.succeed("curl -sSfL http://roundcube/ | grep 'Keep me logged in'")
   '';
 })