Fix XFSQA test 144
authorDonald Douwsma <donaldd@sgi.com>
Wed, 18 Jun 2008 16:08:20 +0000 (16:08 +0000)
committerDonald Douwsma <donaldd@sgi.com>
Wed, 18 Jun 2008 16:08:20 +0000 (16:08 +0000)
commit7d8939d27c37e92dcac3b75c1dff9830870186c8
tree16394b70e949dd214d5259a0b8862f7da66e5924
parentd36fc6847def57edafcdf3cacbf04ffd7c7ef694
Fix XFSQA test 144

Two really dumb bugs:

 - "foo & 0x3FFFFFFFFFFFF" doesn't cap at 1TB, but rather at more than
   two magnitudes larger than that.  That gets us EFBIG with typical
   32bit XFS setups.
 - the command array can easily overflow and thus let the test fail

Signed-off-by: Christoph Hellwig <hch@lst.de>
Merge of master-melb:xfs-cmds:31327a by kenmcd.

  Fix XFSQA test 144
dmapi/src/suite2/src/test_fileattr.c