summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/lib/syslfs.t8
-rw-r--r--t/op/lfs.t8
2 files changed, 10 insertions, 6 deletions
diff --git a/t/lib/syslfs.t b/t/lib/syslfs.t
index 14a968a88c..80f0ebf540 100644
--- a/t/lib/syslfs.t
+++ b/t/lib/syslfs.t
@@ -96,10 +96,12 @@ unless($syswrite && $close) {
} else {
print "# close failed: $!\n"
}
- if ($! =~/File too large/) {
- print "1..0\n# writing past 2GB failed\n";
- explain();
+ if ($! =~/too large/i) {
+ print "1..0\n# writing past 2GB failed: process limits?\n";
+ } elsif ($! =~ /quota/i) {
+ print "1..0\n# filesystem quota limits?\n";
}
+lain();
bye();
}
diff --git a/t/op/lfs.t b/t/op/lfs.t
index af7853b270..2384c96d8c 100644
--- a/t/op/lfs.t
+++ b/t/op/lfs.t
@@ -100,10 +100,12 @@ unless ($print && $close) {
} else {
print "# close failed: $!\n"
}
- if ($! =~/File too large/) {
- print "1..0\n# writing past 2GB failed\n";
- explain();
+ if ($! =~/too large/i) {
+ print "1..0\n# writing past 2GB failed: process limits?\n";
+ } elsif ($! =~ /quota/i) {
+ print "1..0\n# filesystem quota limits?\n";
}
+ ain();
bye();
}