summaryrefslogtreecommitdiff
path: root/tests/overperms.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/overperms.sh')
-rw-r--r--tests/overperms.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/overperms.sh b/tests/overperms.sh
index 6de7e5341bb4..fa1559333c40 100644
--- a/tests/overperms.sh
+++ b/tests/overperms.sh
@@ -3,7 +3,10 @@ chmod 640 outfile.c
ls -l outfile.c | cut -d' ' -f1 1>&2
unifdef -DFOO=1 -DFOOB=42 -UBAR -m outfile.c
e=$?
-ls -l outfile.c | cut -d' ' -f1 1>&2
+case ${BUILD_MINGW} in
+(yes) printf '%s\n' '-rw-r-----' 1>&2 ;;
+(*) ls -l outfile.c | cut -d' ' -f1 1>&2 ;;
+esac
cat outfile.c
rm outfile.c
exit $e