From: Stefano Lattarini Date: Fri, 2 Jan 2015 14:26:12 +0000 (+0100) Subject: tests: fix some bugs in an XFAILing test X-Git-Tag: v1.16~42^2^2~2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=e3908dd893aadc5e7775ede9a8a24d8667b371b9;p=thirdparty%2Fautomake.git tests: fix some bugs in an XFAILing test * t/subobj-vpath-pr13928.sh: This one. The test would have failed (or hung!) even if the bug it was testing against were fixed. Signed-off-by: Stefano Lattarini --- diff --git a/t/subobj-vpath-pr13928.sh b/t/subobj-vpath-pr13928.sh index a10d65776..265832b4f 100644 --- a/t/subobj-vpath-pr13928.sh +++ b/t/subobj-vpath-pr13928.sh @@ -33,7 +33,7 @@ AUTOMAKE_OPTIONS = subdir-objects noinst_PROGRAMS = test test_SOURCES = $(srcdir)/test.c test-objs: - test ! -f $(srcdir)/test.$(OBJEXT) + test ! -f '@srcdir@/test.$(OBJEXT)' test -f test.$(OBJEXT) END @@ -42,7 +42,7 @@ $ACLOCAL && $AUTOCONF && $AUTOMAKE -a || fatal_ "autotools failed" $EGREP 'test\.|DEPDIR|dirstamp|srcdir' Makefile.in || : # For debugging. $EGREP '\$.srcdir./test\.[o$]' Makefile.in && exit 1 $FGREP '$(srcdir)/$(am__dirstamp)' Makefile.in && exit 1 -$FGREP '$(srcdir)/$(DEPDIR)' && exit 1 +$FGREP '$(srcdir)/$(DEPDIR)' Makefile.in && exit 1 cat > test.c << 'END' int main (void)