summaryrefslogtreecommitdiff
path: root/tests/no-mode-change-git-diff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/no-mode-change-git-diff')
-rw-r--r--tests/no-mode-change-git-diff4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/no-mode-change-git-diff b/tests/no-mode-change-git-diff
index 2f9bc36..b8f33c1 100644
--- a/tests/no-mode-change-git-diff
+++ b/tests/no-mode-change-git-diff
@@ -29,6 +29,6 @@ check 'patch -p1 < simple.diff || echo "Status: $?"' <<EOF
patching file f
EOF
-check 'stat -c "%a" f'<<EOF
-755
+check 'ls -l f | sed "s,\(..........\).*,\1,"' <<EOF
+-rwxr-xr-x
EOF