Whamcloud - gitweb
b=21924 create test dir before starting changelogs
authorNathan Rutman <nathan.rutman@sun.com>
Wed, 3 Feb 2010 20:09:37 +0000 (12:09 -0800)
committerRobert Read <rread@sun.com>
Wed, 3 Feb 2010 22:07:45 +0000 (14:07 -0800)
commit51a3810760214cf2c67dcfd5a8d6b07bdea6f115
tree361ad8e3da48b6c53c1e871ce388f457f63156b6
parent981dff4a75c3f0e1e6de9ae443a694edd6cdd3b9
b=21924 create test dir before starting changelogs

i=rread
A test-level directory (d0.lustre-rsync-test) was recently added to the $tdir path.
This directory is created before the tests are run.  But lustre-rsync requires the
source and target systems to be identical before the changelog is started; the
presence of this directory in the source, missing in the target, causes the
failure seen here.  This patch simply creates $tdir on the source and target
before each test is run, insuring a coherent starting state.
lustre/tests/lustre-rsync-test.sh