make correction to comments (#525)

This commit is contained in:
Josh Rabinowitz 2019-08-30 13:17:53 -04:00 committed by GitHub
parent 9ff559ca8c
commit 68b64f4aac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 3 deletions

View File

@ -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" {

View File

@ -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")