From 3a4a79284c0ab5e35a26d1d7b87d2933474fd1ab Mon Sep 17 00:00:00 2001 From: "tal@whatexit.org" Date: Tue, 15 Mar 2016 19:14:09 -0400 Subject: [PATCH] Add more debugging output to "make confidence" --- tools/test_functions.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/test_functions.sh b/tools/test_functions.sh index aa774c6..87ebdf8 100755 --- a/tools/test_functions.sh +++ b/tools/test_functions.sh @@ -78,8 +78,10 @@ function assert_file_group() { ;; esac + echo "DEBUG: assert_file_group X${wanted}X vs. X${found}X" + echo "DEBUG:" $(which stat) if [[ "$wanted" != "$found" ]]; then - echo "ASSERT FAILED: $file chgrp wanted=$wanted found=$found" + echo "ASSERT FAILED: $file chgrp group wanted=$wanted found=$found" exit 1 fi } @@ -103,8 +105,10 @@ function assert_file_perm() { ;; esac + echo "DEBUG: assert_file_perm X${wanted}X vs. X${found}X" + echo "DEBUG:" $(which stat) if [[ "$wanted" != "$found" ]]; then - echo "ASSERT FAILED: $file chgrp wanted=$wanted found=$found" + echo "ASSERT FAILED: $file chgrp perm wanted=$wanted found=$found" exit 1 fi }