about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2022-12-08 22:29:19 +0100
committerRobert Hensing <robert@roberthensing.nl>2022-12-08 22:29:38 +0100
commitcf7b358d69e2aaf330fd4219d2b552a250365645 (patch)
treefdbf7bbe7995788e9a69dbb6a611f75beec1af4a /nixos
parent454d2307ae193a5c26c4e61b7f4690abae710f9f (diff)
nixosTests.docker-tools: Fix syntax
This may be unnecessary, but I'm not waiting for the tests again.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/tests/docker-tools.nix24
1 files changed, 12 insertions, 12 deletions
diff --git a/nixos/tests/docker-tools.nix b/nixos/tests/docker-tools.nix
index bf0a511da2f6d..98704ecb2fb65 100644
--- a/nixos/tests/docker-tools.nix
+++ b/nixos/tests/docker-tools.nix
@@ -420,18 +420,18 @@ import ./make-test-python.nix ({ pkgs, ... }: {
         )
 
     with subtest("Ensure correct architecture is present in manifests."):
-        docker.succeed(
-            "docker load --input='${examples.build-image-with-architecture}'",
-            "docker inspect build-image-with-architecture "
-              + "| ${pkgs.jq}/bin/jq -er '.[] | select(.Architecture=="arm64").Architecture'",
-            "docker rmi build-image-with-architecture",
-        )
-        docker.succeed(
-            "${examples.layered-image-with-architecture} | docker load",
-            "docker inspect layered-image-with-architecture "
-              + "| ${pkgs.jq}/bin/jq -er '.[] | select(.Architecture=="arm64").Architecture'",
-            "docker rmi layered-image-with-architecture",
-        )
+        docker.succeed("""
+            docker load --input='${examples.build-image-with-architecture}'
+            docker inspect build-image-with-architecture \
+              | ${pkgs.jq}/bin/jq -er '.[] | select(.Architecture=="arm64").Architecture'
+            docker rmi build-image-with-architecture
+        """)
+        docker.succeed("""
+            ${examples.layered-image-with-architecture} | docker load
+            docker inspect layered-image-with-architecture \
+              | ${pkgs.jq}/bin/jq -er '.[] | select(.Architecture=="arm64").Architecture'
+            docker rmi layered-image-with-architecture
+        """)
 
     with subtest("etc"):
         docker.succeed("${examples.etc} | docker load")