From 3181b6d6675b8d72a8c3d99c0683edfeb1bc5acd Mon Sep 17 00:00:00 2001 From: Matt Joiner Date: Thu, 10 Feb 2022 09:20:23 +1100 Subject: [PATCH] fs/test.sh: Fail if hash does not match --- fs/test.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/test.sh b/fs/test.sh index bcd5064e..4e0aebc9 100755 --- a/fs/test.sh +++ b/fs/test.sh @@ -13,7 +13,8 @@ trap 'set +e; sudo umount -f mnt' EXIT #file="$debian_file" file=Sintel/Sintel.mp4 while [ ! -e "mnt/$file" ]; do sleep 1; done -pv -f "mnt/$file" | md5sum -# expect e221f43f4fdd409250908fc4305727d4 +pv -f "mnt/$file" | md5sum -c <(cat <