From 240917306635c18ce5fb350bea463bdbcf7d2d3f Mon Sep 17 00:00:00 2001 From: adilger Date: Wed, 14 Dec 2005 09:35:44 +0000 Subject: [PATCH] Branch b_release_1_4_6 Actually fix this problem b=9692 --- lustre/liblustre/tests/sanity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/liblustre/tests/sanity.c b/lustre/liblustre/tests/sanity.c index 13be9d3..db51c14 100644 --- a/lustre/liblustre/tests/sanity.c +++ b/lustre/liblustre/tests/sanity.c @@ -366,7 +366,7 @@ int t14(char *name) snprintf(dir, MAX_PATH_LENGTH, "%s/test_t14_dir/", lustre_path); rc = mkdir(dir, 0755); - if (rc < 0 && errno != ENOENT) { + if (rc < 0 && errno != EEXIST) { printf("mkdir(%s) error: %s\n", dir, strerror(errno)); exit(1); } -- 1.8.3.1