| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Extended attributes are not accounted for in the real file size on most file
systems, not even in ext* file systems with large inodes. Remove the
associated tests.
|
|
|
|
|
| |
These tests don't do anything useful anymore on most ext4 file systemms, so
remove it.
|
|
|
|
|
|
|
| |
Change getfattr to print empty attribute values as "" (including the quotes),
0x, or 0s, depending on the encoding chosen. Fix setfattr to set empty
attribute values when the value specified is an empty string; before, an
encoded empty value like "" (including the quotes) had to be specified.
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a bug when doing the cleanup of tests in a subdir by making
sure we chdir back to our starting point.
We also move the root test out of XFAIL and instead do the root checking
at runtime. If we are root, the test passes nicely, otherwise it marks
itself as SKIP quickly.
These are fixing issues noticed when doing the update to libacl.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This deletes the hand rolled build system and replaces it entirely
with autotools. The overall diffstat shows that this is a clear
win, and it makes the package build/install like every other autotool
package out there which makes the lives of distro maintainers a lot
easier.
This should also be faster by virtue of using a non-recursive build.
Things to note:
- to generate autotools:
./autogen.sh
- to see full compile output:
make V=1
- to build specific targets:
make attr getfattr ...
- to run tests:
make check
- to create a release:
make distcheck -j
Other non-developer things:
- the xattr.conf file is now installed into sysconfdir by default
- man pages are no longer compressed as this is uncommon in the
autotools world and distros don't need it anyways (they already
handle it automatically for most pakages)
- the minor # of the shared library is now based on the package
version so it'll be much bigger ... this isn't a problem, and
is actually a bugfix (older releases didn't change when they
should have)
(Again, this is all using the standard autotool targets.)
|
|
|
|
|
|
|
|
|
|
| |
Change the run program to update PATH to find the tools locally
automatically. This lets us avoid having to always build in the
tree and allows for direct running.
Also update the program to create a tempdir for each test to run
inside of. This way we can run all the tests in parallel without
randomly clobbering each other.
|
|
|
|
|
| |
additional 'security.selinux' attrs appear on selinux systems, filter
them out to get the tests to pass.
|
|
|
|
| |
reported by Jean-Pierre André at https://bugzilla.redhat.com/660619
|
|
|
|
| |
reported by Jean-Pierre André at https://bugzilla.redhat.com/660613
|
|
|
|
| |
The root tests were not piped through the sorting program. Fix this.
|
|
|
|
| |
test/sort-getfattr-output was missing from the tarball. Add it.
|
|
|
|
|
|
|
| |
getfattr output"
after 6824f9c68225388c8c7a9e887a21f0aa222c3571 getfattr outputs \ooo style
characters in fewer cases. Fix the test case to match.
|
|
|
|
|
|
|
|
|
| |
On some platforms libtool prefixes the in-tree binaries under .libs with
"lt-". This causes the tests to break. This patch removes the lt-
prefix from program error output.
A discussion on the issue is here:
http://lists.gnu.org/archive/html/libtool/2009-05/msg00042.html
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Clarify some license notices to specifically refer to GPLv2+ instead of only
referring to GPL without version. (Most of the sloppy license headers slipped
in unnoticed; the changes were acked by Felix Blyakher <felixb@sgi.com> on
behalf of SGI on 8 April 2009.)
Add license headers to a number of small files which were only licenses as
GPLv2+ implicitly so far.
Refer to this package as "this program" rather than "Attr" throughout the
license notices; this simplifies sharing files among packages.
|
|
|
|
|
|
|
|
| |
Some of the license notices added in commit f36cdfd are wrongly referring
to GPLv2.1. This is wrong; the proper licenses that the notices should refer
to are GPLv2, and LGPLv2.1. Fix this mistake.
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
|
|
|
| |
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
|
|
|
|
|
|
| |
Instead of using grep and sort, use a small perl script for sorting
the getfattr output. That way, the test remains more obvious.
This reverts commit aeaf2d577c10f42dbc21e8d7370ee9cf37e5667e.
|
|
|
|
|
|
|
|
| |
When reading directories, different filesystems return files in different
orders. Some tests depended on a specific order; remove this dependency by
sorting the results before checking them.
Signed-off: Andreas Gruenbacher <agruen@suse.de>
|
|
|
|
| |
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
|
|
|
|
|
| |
This test requires root privileges.
Signed-off-by: Brandon Philips <bphilips@suse.de>
|
|
|
|
|
|
|
|
|
|
| |
The tests are difficult to run. So, this patch adds a Make target that
sets up the path and runs *.test files in the test/ directory.
ext specific tests can be ran from the test directory by running
`make ext-tests`
Signed-off-by: Brandon Philips <bphilips@suse.de>
|
|
|
|
|
|
| |
Add tests against patches from Andreas to fix up walk_tree.c.
Signed-off-by: Brandon Philips <bphilips@suse.de>
|
|
|
|
|
|
|
| |
Some of these tests are fs specific and don't work under newer ext3
disks. Move into a seperate directory and file.
Signed-off-by: Brandon Philips <bphilips@suse.de>
|
|
|
|
|
| |
Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Avoid a warning:
main::process_test() called too early to check prototype at ./run line 47.
main::process_test() called too early to check prototype at ./run line 60.
Add a >~ test line that is similar to > but is interpreted as a regular
expression.
Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Andreas Gruenbacher <agruen@suse.de>
|
|
|
|
| |
Merge of master-melb:xfs-cmds:30192a by kenmcd.
|
|
|
|
| |
Merge of master-melb:xfs-cmds:30105a by kenmcd.
|
|
|
|
|
|
| |
Legals preferences.
Merge of master-melb:xfs-cmds:24326a by kenmcd.
|
|
|
|
| |
characters, and creates an little library for helper functions
|
| |
|
| |
|
| |
|
|
|
|
| |
Undo xfs-cmds:slinx:120772a, inadvertently whacked a previous mod.
|
| |
|
| |
|
|
|
|
|
| |
a/ on sparc (fremovexattr was wrong) and b/ if arch doesn't have numbers
defined yet, handle it cleanly (errno.h missing).
|
| |
|
| |
|
|
|
|
| |
sync up with patch from AndreasG, mainly creates libattr.rpm/deb.
|
|
bump to version 2.0.0 for extended attribute and other interface changes.
incorporate new code, docs, etc from ext2/ext3 project.
|