colon3.test

来自「这是一个自动生成MAKEFILE的工具。相信大家都听说过。在LINUX工程项目里」· TEST 代码 · 共 42 行

TEST
42
字号
#! /bin/sh# Make sure ":" works with files automake generates.# This test is for multiple ":"s.. $srcdir/defs || exit 1cat > configure.in << 'END'PACKAGE=nonesuchVERSION=nonesuchAC_ARG_PROGRAMAC_PROG_INSTALLAC_OUTPUT(Makefile:zardoz.in:two.in:three.in)END: > zardoz.am: > two.in: > three.in$AUTOMAKE || exit 1# We actually check several things here.# Automake should have created zardoz.in.test -f zardoz.in || exit 1# The generated file should refer to zardoz.in and zardoz.am, but# never just "zardoz" -- except the actual automake invocation can# refer to it (don't ask).echo Grep1grep zardoz zardoz.in | fgrep -v 'zardoz.in' | fgrep -v 'zardoz.am' \   | fgrep -v AUTOMAKE > O# We cat the output file so we see in when verbose.cat Otest -z "`cat O`" || exit 1# Makefile should depend on two.in.echo Grep2grep '^Makefile:.* two.in' zardoz.in || exit 1# Likewise three.in.echo Grep3grep '^Makefile:.* three.in' zardoz.in

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?