mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-15 01:57:52 +00:00
Merge pull request #248154 from onny/nextcloud-tests-fix
nixos/tests/nextcloud: Fix deprecation warning
This commit is contained in:
commit
6574d90239
@ -90,8 +90,8 @@ in {
|
||||
test -e graph
|
||||
grep "$what" graph >$out || true
|
||||
'';
|
||||
nextcloudUsesImagick = findInClosure "imagick" nodes.nextcloud.config.system.build.vm;
|
||||
nextcloudWithoutDoesntUseIt = findInClosure "imagick" nodes.nextcloudWithoutMagick.config.system.build.vm;
|
||||
nextcloudUsesImagick = findInClosure "imagick" nodes.nextcloud.system.build.vm;
|
||||
nextcloudWithoutDoesntUseIt = findInClosure "imagick" nodes.nextcloudWithoutMagick.system.build.vm;
|
||||
in ''
|
||||
assert open("${nextcloudUsesImagick}").read() != ""
|
||||
assert open("${nextcloudWithoutDoesntUseIt}").read() == ""
|
||||
|
@ -49,8 +49,8 @@ in {
|
||||
#!${pkgs.runtimeShell}
|
||||
echo 'bye' | ${withRcloneEnv3} ${pkgs.rclone}/bin/rclone rcat nextcloud:test-shared-file2
|
||||
'';
|
||||
openssl1-node = nodes.nextcloudwithopenssl1.config.system.build.toplevel;
|
||||
openssl3-node = nodes.nextcloudwithopenssl3.config.system.build.toplevel;
|
||||
openssl1-node = nodes.nextcloudwithopenssl1.system.build.toplevel;
|
||||
openssl3-node = nodes.nextcloudwithopenssl3.system.build.toplevel;
|
||||
in ''
|
||||
nextcloudwithopenssl1.start()
|
||||
nextcloudwithopenssl1.wait_for_unit("multi-user.target")
|
||||
|
Loading…
Reference in New Issue
Block a user