summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2013-01-28 12:31:16 -0800
committerAnand Avati <avati@redhat.com>2013-01-28 13:50:07 -0800
commit54c68942b456ffa8d15b39b43a7723712b2a1a25 (patch)
tree79d4cb4e70d45dc59a9cb24bbe04ebfb18868a05
parentcc96adbe4604ea5fd462d8db77486c2f963baf43 (diff)
bug-765564.t: fix path for file to rename
The script assumed it was chdir'ed into the mount point while it was not. There also happened to be (conincidentally) a directory of name 'a' in the workspace. The first the script was run, the rename succeeded. All future tests are failing as the directory already exists. Change-Id: I92ad62e7893c03bb3f2af75c51d35bc35866dafe Signed-off-by: Anand Avati <avati@redhat.com> BUG: 765564 Reviewed-on: http://review.gluster.org/4442 Tested-by: Gluster Build System <jenkins@build.gluster.com>
-rw-r--r--tests/bugs/bug-765564.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bugs/bug-765564.t b/tests/bugs/bug-765564.t
index c1f29d92e09..d82f8ca37ac 100644
--- a/tests/bugs/bug-765564.t
+++ b/tests/bugs/bug-765564.t
@@ -63,8 +63,8 @@ function rm_mv_correctness () {
return $ret
}
-TEST touch a;
-TEST mv a b;
+TEST touch $M0/a;
+TEST mv $M0/a $M0/b;
TEST rm_mv_correctness;
TEST umount $M0;