Commit Graph

28 Commits

Author SHA1 Message Date
Alex Elder 0629d83588 xfstests: have getfacl(1) report numeric id's
This patch arranges for calls to getfacl(1) to be given the "-n"
flag, which requests that user and group id's be listed numerically
rather than using names.  The affected test output files are also
updated to indicate the effect of the change.

This eliminates some spurious output differences I was seeing, due
to the presence of NIS in my test environment.

Signed-off-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2010-08-02 12:15:31 -05:00
Eric Sandeen 1728089cc9 xfstests: rename _acl_requirements to _require_acls
Most requirement tests are named _require_foo, so just
make this more consistent.

Also remove a few redundant tests for /usr/bin/chacl
since _require_acls covers that.

Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2010-02-05 11:04:10 -06:00
Dave Chinner 771e69de67 xfstests: Convert all tests to use /bin/bash
While most tests use /bin/sh, they are dependent on /bin/sh being a
bash shell.  Convert all the tests to execute via /bin/bash as it is
much, much simpler than trying to debug and remove all the bashisms
throughout the test code.

Signed-off-by: Dave Chinner <david@fromorbit.com>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
2010-01-20 10:27:08 +11:00
Christoph Hellwig f381f98206 xfstests: move GPL boilerplates to fix lsqa.pl
It turns out lsqa.pl nees the test number and description first in the
file, so move the GPL boilerplates below it.

Also remove acouple of cases where we have one full copyright line + gpl
boilerplate before the description and another copyright line after
the description.

Signed-off-by: Christoph Hellwig <hch@lst.de>
2009-05-28 17:04:15 +02:00
Felix Blyakher 65491dc047 Add GPL license plate to SGI's test files.
Signed-off-by: Felix Blyakher <felixb@sgi.com>
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Felix Blyakher <felixb@sgi.com>
2009-05-26 16:51:14 -05:00
Eric Sandeen 7c75dff3dd Revert "patch more_set_prog_path"
This reverts commit b2fcff900d.

This snuck in unintentionally due to my weak git-fu,
and was breaking things.
2009-04-23 12:42:32 -05:00
Eric Sandeen b2fcff900d patch more_set_prog_path 2009-04-19 15:48:48 -05:00
Nathan Scott 640164847a Update copyright annotations and license boilerplates to correspond with SGI Legals preferences.
Merge of master-melb:xfs-cmds:24327a by kenmcd.
2005-11-09 02:49:08 +00:00
ptools cb6beb9759 Fixed merge problems 2004-06-15 07:32:36 +00:00
Nathan Scott f419391566 Remove (busted anyway) Id rcs keywords for keeping trees in sync 2003-06-24 06:21:22 +00:00
Eric Sandeen 3ef12e3824 Update copyright dates (again) 2002-06-04 23:07:56 +00:00
Eric Sandeen bc4eb461ae Undoes mod: xfs-cmds:slinx:120772a
Undo xfs-cmds:slinx:120772a, inadvertently whacked a previous mod.
2002-06-04 22:53:09 +00:00
Eric Sandeen 8ce73f8626 Update copyright dates 2002-06-04 17:58:21 +00:00
Tim Shimmin 263901a635 move some acl funcs into common.attr 2002-05-09 05:26:20 +00:00
Tim Shimmin b1095283a1 Test for handling of large ACLs with the limit and beyond
number of ACEs.
2002-05-08 04:29:55 +00:00
Tim Shimmin 7515ba5e6a Merge of xfs-cmds-2.4.18:slinx:112265a by nathans.
allow different chacl paths
2002-02-25 22:39:52 +00:00
Tim Shimmin f5625d46ea Merge of xfs-cmds-2.4.18:slinx:112264a by nathans.
And some msgs.
2002-02-25 22:39:00 +00:00
Nathan Scott 958b881b08 Merge of xfs-cmds-2.4.18:slinx:111140a by nathans.
minor changes to xfstests as we transition to new EA/ACL interfaces.
2002-02-25 22:12:17 +00:00
Tim Shimmin 7baa9d88d5 Test out the new acl text error msgs. 2001-08-24 05:51:02 +00:00
Nathan Scott 3dc2e58dd8 filter out some host-specific information from pushd/popd. 2001-07-23 22:06:20 +00:00
Nathan Scott 3499b4ac9d test out the -r option to chacl. 2001-07-23 08:27:49 +00:00
Tim Shimmin 9efce32a3d Fix up filtering to make deterministic.
Needed when changed chacl to give better error msg.
2001-05-01 01:01:05 +00:00
Tim Shimmin ef15cbdb8b Test default ACLs with particular umasks instead of
relying on a default umask.
Updated for pv#820248.
2001-04-17 05:16:51 +00:00
Andrew Gildfind a12763fe45 No Message Supplied 2001-04-02 00:41:31 +00:00
Tim Shimmin f5b4f28d63 tidy up a bit 2001-02-20 08:07:09 +00:00