Whamcloud - gitweb
LU-4123 tests: use nodename in check_write_access 09/8009/4
authorStephen Champion <schamp@sgi.com>
Tue, 29 Oct 2013 04:13:49 +0000 (12:13 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 20 Nov 2013 05:31:55 +0000 (05:31 +0000)
commit78b7420509c92021dbfd4a91f4dbef5eb99de02a
tree4f0eac3099d296ab27524695c8f63a2ea66f5544
parent2584f705b95adba6db2e3a38fc5c12381015a98b
LU-4123 tests: use nodename in check_write_access

Check for a file create using the remote nodename.

When the node name of a host does not exactly match the host name
passed via xxx_HOST parameters, check_write_access can check for
creation of a filename different from what the remote node created.

By querying and using the nodename from the remote host, the node
initiating the tests can check for the same file name that the remote
node creates.

Test-Parameters: testlist=lfsck

Signed-off-by: Stephen Champion <schamp@sgi.com>
Signed-off-by: Jian Yu <jian.yu@intel.com>
Change-Id: I57f081597395578c1a37e16531477e6fa4867c8d
Reviewed-on: http://review.whamcloud.com/8009
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/tests/functions.sh
lustre/tests/test-framework.sh