diff options
author | K900 <me@0upti.me> | 2023-11-07 19:57:23 +0300 |
---|---|---|
committer | K900 <me@0upti.me> | 2023-11-07 21:08:23 +0300 |
commit | 9843bbbeee2642df74a5d4b4f94bae05cea0e2e0 (patch) | |
tree | dbc470c7991386c638485664bd45b5c4487e47c6 /nixos/tests/hadoop/hdfs.nix | |
parent | 223c8a6ed4c41e1449fa83d0e1feb45d5dd5910e (diff) | |
download | nixpkgs-9843bbbeee2642df74a5d4b4f94bae05cea0e2e0.tar nixpkgs-9843bbbeee2642df74a5d4b4f94bae05cea0e2e0.tar.gz nixpkgs-9843bbbeee2642df74a5d4b4f94bae05cea0e2e0.tar.bz2 nixpkgs-9843bbbeee2642df74a5d4b4f94bae05cea0e2e0.tar.lz nixpkgs-9843bbbeee2642df74a5d4b4f94bae05cea0e2e0.tar.xz nixpkgs-9843bbbeee2642df74a5d4b4f94bae05cea0e2e0.tar.zst nixpkgs-9843bbbeee2642df74a5d4b4f94bae05cea0e2e0.zip |
treewide: replace `<command> | systemd-cat` with `systemd-cat <command>`
The former swallows exit codes, the latter doesn't.
Diffstat (limited to 'nixos/tests/hadoop/hdfs.nix')
-rw-r--r-- | nixos/tests/hadoop/hdfs.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/tests/hadoop/hdfs.nix b/nixos/tests/hadoop/hdfs.nix index 429d4bf6b53..65686b37155 100644 --- a/nixos/tests/hadoop/hdfs.nix +++ b/nixos/tests/hadoop/hdfs.nix @@ -50,8 +50,8 @@ import ../make-test-python.nix ({ package, lib, ... }: namenode.wait_for_unit("hdfs-namenode") namenode.wait_for_unit("network.target") namenode.wait_for_open_port(8020) - namenode.succeed("ss -tulpne | systemd-cat") - namenode.succeed("cat /etc/hadoop*/hdfs-site.xml | systemd-cat") + namenode.succeed("systemd-cat ss -tulpne") + namenode.succeed("systemd-cat cat /etc/hadoop*/hdfs-site.xml") namenode.wait_for_open_port(9870) datanode.wait_for_unit("hdfs-datanode") |