From a16bee4f071cea80445b0dd3648db3079e80eb43 Mon Sep 17 00:00:00 2001 From: Pádraig Brady
Date: Mon, 9 Jun 2008 16:36:38 +0100
Subject: remove test for specific diagnostic when truncating missing directory
Solaris 10 returns ENOTDIR when truncating a nonexistent directory,
whereas Linux returns EISDIR (because it has a trailing /).
* tests/misc/truncate-fail-diag: Remove the test for the specific error.
---
tests/misc/truncate-fail-diag | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
(limited to 'tests/misc/truncate-fail-diag')
diff --git a/tests/misc/truncate-fail-diag b/tests/misc/truncate-fail-diag
index 32896258d..0c6bb1c57 100755
--- a/tests/misc/truncate-fail-diag
+++ b/tests/misc/truncate-fail-diag
@@ -42,9 +42,8 @@ compare out exp || fail=1
dir=$d1/
truncate -s0 $dir > out 2>&1 && fail=1
-cat <