From: HemaHarish Date: Wed, 25 Nov 2015 11:25:54 +0000 (+0530) Subject: LU-7469 test: add missing init to lustre-rsync-test:test_1a X-Git-Tag: 2.8.54~46 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F55%2F17355%2F4;p=fs%2Flustre-release.git LU-7469 test: add missing init to lustre-rsync-test:test_1a Target directory was not created for first time, so failed to write to target location. Seagate-bug-id: MRP-2382 Signed-off-by: Hema Yarramilli Change-Id: I1192c413c8c173abdea3929dbaec19f1f5d20c92 Reviewed-on: http://review.whamcloud.com/17355 Reviewed-by: Nathaniel Clark Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Saurabh Tandan Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/lustre-rsync-test.sh b/lustre/tests/lustre-rsync-test.sh index d27e93d..85d683a 100644 --- a/lustre/tests/lustre-rsync-test.sh +++ b/lustre/tests/lustre-rsync-test.sh @@ -211,6 +211,7 @@ run_test 1 "Simple Replication" test_1a() { # LU-5005 rm -rf $TGT/root-* 2> /dev/null rm -rf $DIR/root-* 2> /dev/null + init_src init_changelog # Directory create @@ -243,6 +244,7 @@ test_1a() { # LU-5005 stat $TGT/root-dir1 && error "Dir delete not replicated" stat $TGT/root-file4 && error "File delete not replicated" + cleanup_src_tgt fini_changelog rm -fr $TGT/root-* rm -fr $DIR/root-*