clarify comment for devs regarding bats TAP diagnostic output

pull/245/head
joshr 6 years ago
parent 5d5392232b
commit 1ea3b3139d

@ -58,7 +58,7 @@ function teardown {
secret_perm=$(ls -l "$encrypted_file" | cut -d' ' -f1)
file_perm=$(ls -l "$FILE_TO_HIDE" | cut -d' ' -f1)
# text sent to file descriptor 3 is 'diagnostic' (debug) output for devs
# text prefixed with '# ' and sent to file descriptor 3 is 'diagnostic' (debug) output for devs
#echo "# secret_perm: $secret_perm, file_perm: $file_perm" >&3
[ "$secret_perm" = "$file_perm" ]

@ -72,7 +72,7 @@ function teardown {
secret_perm=$(ls -l "$FILE_TO_HIDE".secret | cut -d' ' -f1)
file_perm=$(ls -l "$FILE_TO_HIDE" | cut -d' ' -f1)
# text sent to file descriptor 3 is 'diagnostic' (debug) output for devs
# text prefixed with '# ' and sent to file descriptor 3 is 'diagnostic' (debug) output for devs
#echo "# secret_perm: $secret_perm, file_perm: $file_perm" >&3
[ "$secret_perm" = "$file_perm" ]

Loading…
Cancel
Save