aboutsummaryrefslogtreecommitdiff
path: root/t/t7508-status.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t7508-status.sh')
-rwxr-xr-xt/t7508-status.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/t7508-status.sh b/t/t7508-status.sh
index 1173dbb36..9bc9817f2 100755
--- a/t/t7508-status.sh
+++ b/t/t7508-status.sh
@@ -364,6 +364,13 @@ test_expect_success 'status submodule summary (clean submodule)' '
test_cmp expect output
'
+test_expect_failure 'status -z implies porcelain' '
+ git status --porcelain |
+ perl -pe "s/\012/\000/g" >expect &&
+ git status -z >output &&
+ test_cmp expect output
+'
+
cat >expect <<EOF
# On branch master
# Changes to be committed: