wildmatch.test

来自「Rsync 3.0.5 source code」· TEST 代码 · 共 24 行

TEST
24
字号
#! /bin/sh# Copyright (C) 2003 by Wayne Davison <wayned@samba.org># This program is distributable under the terms of the GNU GPL (see# COPYING).# Test the wildmatch functionality. "$suitedir/rsync.fns"# This test exercises the wildmatch() function (with no options) and the# wildmatch_join() function (using -x and/or -e).for opts in "" -x1 "-x1 -e1" "-x1 -e1se" -x2 "-x2 -ese" -x3 "-x3 -e1" -x4 "-x4 -e2e" -x5 "-x5 -es"; do    echo Running wildtest with "$opts"    "$TOOLDIR/wildtest" $opts "$srcdir/wildtest.txt" >"$scratchdir/wild.out"    diff $diffopt "$scratchdir/wild.out" - <<EOFNo wildmatch errors found.EOFdone# The script would have aborted on error, so getting here means we've won.exit 0

⌨️ 快捷键说明

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