make correction to comments (#525)

pull/531/head
Josh Rabinowitz 5 years ago committed by GitHub
parent 9ff559ca8c
commit 68b64f4aac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -73,14 +73,13 @@ function teardown {
local encrypted_file=$(_get_encrypted_filename "$FILE_TO_HIDE")
[ -f "$encrypted_file" ]
## permissions should match. We skip below test for now because ls -l doesn't return permissions on busybox
## permissions should match.
local secret_perm
local file_perm
file_perm=$($SECRETS_OCTAL_PERMS_COMMAND "$FILE_TO_HIDE")
secret_perm=$($SECRETS_OCTAL_PERMS_COMMAND "$encrypted_file")
#echo "# '$BATS_TEST_DESCRIPTION': $secret_perm, file_perm: $file_perm" >&3
[ "$secret_perm" = "$file_perm" ]
}
@test "run 'hide' from inside subdirectory" {

@ -85,7 +85,7 @@ function teardown {
[ "$status" -eq 0 ]
## permissions should match. We skip below test for now because ls -l doesn't return permissions on busybox
## permissions should match.
local secret_perm
local file_perm
file_perm=$($SECRETS_OCTAL_PERMS_COMMAND "$FILE_TO_HIDE")

Loading…
Cancel
Save