From 6ae9056a5a82dd16b745188a7ee6122ed27239f0 Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 11 Jun 2019 04:44:48 +0200 Subject: tests/luks2-bcache: Add missing chomp on $csetuuid This is just a minor nitpick and doesn't actually change a lot in functionality, but I chomped all the other occasions, so let's be consistent here as well. Signed-off-by: aszlig --- tests/aszlig/dnyarri/luks2-bcache.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/aszlig/dnyarri/luks2-bcache.nix b/tests/aszlig/dnyarri/luks2-bcache.nix index c728a41a..b81e6f47 100644 --- a/tests/aszlig/dnyarri/luks2-bcache.nix +++ b/tests/aszlig/dnyarri/luks2-bcache.nix @@ -92,6 +92,7 @@ my $csetuuid = $newmachine->succeed( 'make-bcache -C /dev/vde | sed -n -e "s/^Set UUID:[^a-f0-9]*//p"' ); + chomp $csetuuid; $newmachine->succeed( "echo $csetuuid > /sys/block/$bcache1/bcache/attach", -- cgit 1.4.1