📄 t.block.on.subnets
字号:
#!/bin/sh +x# Note: When run via "make check", test output files are automatically deleted.# When run from the command line, output files are left in directory# block.on.subnets.YYYYMMDD. This is useful when something is different.NODB=1 . ${srcdir=.}/t.framemap_rc(){ ( set +e eval "$@" a=$? [ $a -eq 0 ] && exit 0 [ $a -eq 1 ] && exit 0 [ $a -eq 2 ] && exit 0 exit $a )}MSG="$TMPDIR/block.on.subnets.msg"REF="$TMPDIR/block.on.subnets.ref"OUT="$TMPDIR/block.on.subnets.out"cat >> $MSG <<EOFtest: 192.168.1.2body 172.12.13.14EOFcat >> $REF <<EOFhead:testurl:192.168.1.2url:192.168.1url:192.168url:192body172.12.13.14172.12.13172.12172EOF$BOGOLEXER -C -p --block-on-subnets=yes -I $MSG > $OUTif [ $verbose -eq 0 ]; then cmp $REF $OUT \ || diff $DIFF_BRIEF $REF $OUTelse diff $DIFF_BRIEF $REF $OUTfi
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -