Edit

kc3-lang/automake/tests/insthook.test

Branch :

  • Show log

    Commit

  • Author : Tom Tromey
    Date : 1998-12-21 13:02:05
    Hash : b1f26417
    Message : * insthook.test: Updated to fail when it should.

  • tests/insthook.test
  • #! /bin/sh
    
    # Test to make sure install-exec-hook works.
    # Report from Tim Goodwin.
    
    . $srcdir/defs || exit 1
    
    cat > Makefile.am << 'END'
    install-exec-hook:
    	@echo nothing
    END
    
    $AUTOMAKE || exit 1
    
    test "`grep install-exec-hook Makefile.in | wc -l`" -gt 1 || exit 1
    grep -A2 '^install-exec-am:' Makefile.in | grep install-exec-hook