X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Flex-clean.sh;h=040c5b00c85554b57f1496f0600171a40d4aafc5;hb=1e2f142fff20f126644b42ded42c12614114aab3;hp=29ab4c2dc9071521b1543cc77eb8e10df3911f02;hpb=b21d68690612214d8edd810acf11880c3c0ad586;p=platform%2Fupstream%2Fautomake.git diff --git a/t/lex-clean.sh b/t/lex-clean.sh old mode 100755 new mode 100644 index 29ab4c2..040c5b0 --- a/t/lex-clean.sh +++ b/t/lex-clean.sh @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2011-2012 Free Software Foundation, Inc. +# Copyright (C) 2011-2013 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -17,10 +17,10 @@ # Check that .c files derived from non-distributed .l sources # are cleaned by "make clean", while .c files derived from # distributed .l sources are cleaned by "make maintainer-clean". -# See also sister test 'lex-clean-cxx.test'. +# See also sister test 'lex-clean-cxx.sh'. required='cc lex' -. ./defs || exit 1 +. test-init.sh cat >> configure.ac << 'END' AC_PROG_CC @@ -97,9 +97,9 @@ for target in clean distclean; do test -f lexer.l test -f lexer.c test -f bar-lexer.c - test ! -r baz.l - test ! -r baz.c - test ! -r qux-baz.c + test ! -e baz.l + test ! -e baz.c + test ! -e qux-baz.c done cp config.sav config.status @@ -108,7 +108,7 @@ cp config.sav config.status $MAKE maintainer-clean ls -l test -f lexer.l -test ! -r lexer.c -test ! -r bar-lexer.c +test ! -e lexer.c +test ! -e bar-lexer.c :