summary refs log tree commit diff
path: root/nixos/lib/test-driver
diff options
context:
space:
mode:
authorr-vdp <ramses@well-founded.dev>2023-07-06 17:10:58 +0200
committerr-vdp <ramses@well-founded.dev>2023-07-06 17:21:10 +0200
commit50c922e39552af0bf3f3b62259bf61c369cbd6dc (patch)
tree5202e7b0df5ad9d4cb05e213caa101d39afb3620 /nixos/lib/test-driver
parent03dab3dfc05a7d0880aa8508d7627aefb24aa97a (diff)
downloadnixpkgs-50c922e39552af0bf3f3b62259bf61c369cbd6dc.tar
nixpkgs-50c922e39552af0bf3f3b62259bf61c369cbd6dc.tar.gz
nixpkgs-50c922e39552af0bf3f3b62259bf61c369cbd6dc.tar.bz2
nixpkgs-50c922e39552af0bf3f3b62259bf61c369cbd6dc.tar.lz
nixpkgs-50c922e39552af0bf3f3b62259bf61c369cbd6dc.tar.xz
nixpkgs-50c922e39552af0bf3f3b62259bf61c369cbd6dc.tar.zst
nixpkgs-50c922e39552af0bf3f3b62259bf61c369cbd6dc.zip
nixos/test-driver: use the short form argument to base64 for busybox compatibility.
Fixes #241938
Diffstat (limited to 'nixos/lib/test-driver')
-rw-r--r--nixos/lib/test-driver/test_driver/machine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/lib/test-driver/test_driver/machine.py b/nixos/lib/test-driver/test_driver/machine.py
index 7ef0ae89910..eb69a56882f 100644
--- a/nixos/lib/test-driver/test_driver/machine.py
+++ b/nixos/lib/test-driver/test_driver/machine.py
@@ -533,7 +533,7 @@ class Machine:
         # While sh is bash on NixOS, this is not the case for every distro.
         # We explicitly call bash here to allow for the driver to boot other distros as well.
         out_command = (
-            f"{timeout_str} bash -c {shlex.quote(command)} | (base64 --wrap 0; echo)\n"
+            f"{timeout_str} bash -c {shlex.quote(command)} | (base64 -w 0; echo)\n"
         )
 
         assert self.shell