From 6b98b6f0b90088f276af4b3a392ca59dd8051fb9 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 25 Nov 2021 21:56:13 +0300 Subject: test/test.sh: best practices --- test/test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test.sh b/test/test.sh index db094ad..efe4315 100755 --- a/test/test.sh +++ b/test/test.sh @@ -83,6 +83,7 @@ verify_output() { local dest_dir="$test_dest_dir" [ "$#" -ge 2 ] && dest_dir="$2" + local actual_output actual_output="$( find "$dest_dir" -printf '%h/%f->%l\n' | sort )" echo echo 'Actual directory structure:' -- cgit v1.2.3