Disable the root-level test-meta.sh tests when the uname output
doesn't match Linux since they're not likely to work elsewhere right
now.
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
Reviewed-by: Zoran Zaric <zz@zoranzaric.de>
$(PYTHON) wvtest.py \
$(wildcard t/t*.py) \
$(filter-out lib/bup/t/tmetadata.py,$(wildcard lib/*/t/t*.py))
- [ -z "$(TEST_META)" ] || \
$(PYTHON) wvtest.py lib/bup/t/tmetadata.py
runtests-cmdline: all
t/test.sh
- [ -z "$(TEST_META)" ] || t/test-meta.sh
+ t/test-meta.sh
stupid:
PATH=/bin:/usr/bin $(MAKE) test
# Root-only tests: ACLs, Linux attr, Linux xattr, etc.
if actually-root; then
(
+ # These tests are only likely to work under Linux for now
+ # (patches welcome).
+ [[ $(uname) =~ Linux ]] || exit 0
+
cleanup_at_exit()
{
cd "$TOP"