From a84585de6380dfc1c9988015ba0d3c77ecfa5395 Mon Sep 17 00:00:00 2001 From: rtm Date: Fri, 25 Aug 2006 01:37:54 +0000 Subject: [PATCH] fstests bugs --- fstests.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fstests.c b/fstests.c index 5718402..a51d487 100644 --- a/fstests.c +++ b/fstests.c @@ -482,8 +482,8 @@ subdir() puts("link dd/xx/ff dd/dd/xx succeeded!\n"); exit(); } - if(link("dd/ff", "dd/dd/ff") == 0){ - puts("link dd/ff dd/dd/ff succeeded!\n"); + if(link("dd/ff", "dd/dd/ffff") == 0){ + puts("link dd/ff dd/dd/ffff succeeded!\n"); exit(); } if(mkdir("dd/ff/ff") == 0){ @@ -494,8 +494,8 @@ subdir() puts("mkdir dd/xx/ff succeeded!\n"); exit(); } - if(mkdir("dd/dd/ff") == 0){ - puts("mkdir dd/dd/ff succeeded!\n"); + if(mkdir("dd/dd/ffff") == 0){ + puts("mkdir dd/dd/ffff succeeded!\n"); exit(); } if(unlink("dd/xx/ff") == 0){ @@ -507,7 +507,7 @@ subdir() exit(); } - if(unlink("dd/dd/ff") != 0){ + if(unlink("dd/dd/ffff") != 0){ puts("unlink dd/dd/ff failed\n"); exit(); }