Whamcloud - gitweb
LU-3403 test: error of listxattr when buffer is small 94/6594/8
authorKeith Mannthey <keith.mannthey@intel.com>
Fri, 9 Aug 2013 06:17:27 +0000 (23:17 -0700)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 11 Sep 2013 03:56:23 +0000 (03:56 +0000)
commite86619c7d593c2a96b0ba6654e696219294b51ed
tree7f310802dcc92226f549b15db9dd54f5853294c4
parent9ce7b876e047383220368c5fadbe39dd3e563ed0
LU-3403 test: error of listxattr when buffer is small

Add a new test for LU-3403. Check that when a buffer
that is too small is passed into listxattr the system
call fails correctly.

Signed-off-by: Keith Mannthey <keith.mannthey@intel.com>
Change-Id: Idf45a3155284a20afadbd2c331a3d85710f740cb
Reviewed-on: http://review.whamcloud.com/6594
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Li Xi <pkuelelixi@gmail.com>
Tested-by: Hudson
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/Makefile.am
lustre/tests/listxattr_size_check.c [new file with mode: 0644]
lustre/tests/sanity.sh