diff options
author | Brandon Philips <bphilips@suse.de> | 2009-02-13 22:36:22 -0800 |
---|---|---|
committer | Andreas Gruenbacher <agruen@suse.de> | 2009-02-23 00:52:05 +0100 |
commit | 9695ffe2630b29edbc10d6cd98432088ef7c1259 (patch) | |
tree | c95435766fe60f08dfe84abf655b36abd0904513 | |
parent | 42b71a193b25378d99bbcdef046863249897c342 (diff) | |
download | attr-9695ffe2630b29edbc10d6cd98432088ef7c1259.tar.gz |
Move getfattr.test to root/
This test requires root privileges.
Signed-off-by: Brandon Philips <bphilips@suse.de>
-rw-r--r-- | test/Makefile | 7 | ||||
-rw-r--r-- | test/root/getfattr.test (renamed from test/getfattr.test) | 0 |
2 files changed, 6 insertions, 1 deletions
diff --git a/test/Makefile b/test/Makefile index e185336..8834723 100644 --- a/test/Makefile +++ b/test/Makefile @@ -7,6 +7,7 @@ include $(TOPDIR)/include/builddefs TEST = $(wildcard *.test) EXT = $(wildcard ext/*.test) +ROOT = $(wildcard root/*.test) # ensure we pick these up in the source tarball LSRCFILES = $(TEST) $(EXT) run README @@ -19,6 +20,7 @@ PATH := $(abspath ../getfattr/):$(abspath ../setfattr):$(abspath ../chattr):$(PA tests: $(TEST) ext-tests: $(EXT) +root-tests: $(ROOT) $(TEST): @echo "*** $@ ***"; perl run $@ @@ -26,5 +28,8 @@ $(TEST): $(EXT): @echo "EXT specific tests"; @echo "*** $@ ***"; perl run $@ -.PHONY: $(TEST) $(EXT) +$(ROOT): + @echo "Note: Tests must run as root"; @echo "*** $@ ***"; perl run $@ + +.PHONY: $(TEST) $(EXT) $(ROOT) .NOTPARALLEL: diff --git a/test/getfattr.test b/test/root/getfattr.test index c9458e6..c9458e6 100644 --- a/test/getfattr.test +++ b/test/root/getfattr.test |