Whamcloud - gitweb
LU-279 tests: Ensure lgetxattr is consistent
authorPrakash Surya <surya1@llnl.gov>
Fri, 13 May 2011 15:48:36 +0000 (08:48 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 13 Dec 2012 00:29:01 +0000 (19:29 -0500)
commita21cfa02dff3b9b290bbb8bd7b33f0606d32acde
tree833d2ec72d9fc72f09f546ad378e9da00547b8d8
parent929ec628e6fef5609e55d519a1eb9e2cbbf1f1e8
LU-279 tests: Ensure lgetxattr is consistent

* Added the lgetxattr_size_check.c program to compare the size returned
  by lgetxattr() when passed zero size buffers and non zero size buffers
* Sanity test 17l was added to make use of this new test program and
  ensure that the values returned by lgetxattr remain consistent

Signed-off-by: Prakash Surya <surya1@llnl.gov>
Change-Id: Id46dbe888d42b058e02ec32b6d1612705d7f6349
Reviewed-on: http://review.whamcloud.com/547
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/tests/Makefile.am
lustre/tests/lgetxattr_size_check.c [new file with mode: 0644]
lustre/tests/sanity.sh