Edit

kc3-lang/automake/tests/mdate4.test

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 2001-06-15 00:56:07
    Hash : 21a2bceb
    Message : * tests/Makefile.am (TESTS): Added mdate4.test. * tests/mdate4.test: New file.

  • tests/mdate4.test
  • #! /bin/sh
    
    # Test to make sure that mdate-sh is added to the right directory.
    # Report from Kevin Dalley
    
    . $srcdir/defs || exit 1
    
    cat > configure.in << 'END'
    AC_INIT
    AM_INIT_AUTOMAKE(nonesuch, nonesuch)
    AC_ARG_PROGRAM
    AC_PROG_INSTALL
    AC_PROG_MAKE_SET
    AC_OUTPUT(Makefile sub/Makefile)
    END
    
    cat > Makefile.am << 'END'
    SUBDIRS = sub
    END
    
    mkdir sub
    
    cat > sub/Makefile.am << 'END'
    info_TEXINFOS = textutils.texi
    END
    
    cat > sub/textutils.texi << 'END'
    @include version.texi
    @setfilename textutils.info
    END
    
    $AUTOMAKE -a || exit 1
    test -f sub/mdate-sh