about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2019-06-11 04:44:48 +0200
committeraszlig <aszlig@nix.build>2019-06-11 04:46:10 +0200
commit6ae9056a5a82dd16b745188a7ee6122ed27239f0 (patch)
tree8373453dcc8350f2bbfeaca57ac8c78e99fd78c3 /tests
parent7adab7f0be27c3ef54f7d82657f05921fd89946c (diff)
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 <aszlig@nix.build>
Diffstat (limited to 'tests')
-rw-r--r--tests/aszlig/dnyarri/luks2-bcache.nix1
1 files changed, 1 insertions, 0 deletions
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",