mirror of
https://github.com/sobolevn/git-secret
synced 2024-10-31 21:20:29 +00:00
make correction to comments (#525)
This commit is contained in:
parent
9ff559ca8c
commit
68b64f4aac
@ -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…
Reference in New Issue
Block a user