⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 missing.test

📁 Rsync 3.0.5 source code
💻 TEST
字号:
#! /bin/sh# This program is distributable under the terms of the GNU GPL (see# COPYING).# Test three bugs fixed by my redoing of the missing_below logic.. $srcdir/testsuite/rsync.fnsmakepath "$fromdir/subdir" "$todir"echo data >"$fromdir/subdir/file"echo data >"$todir/other"# Test 1: Too much "not creating new..." output on a dry run$RSYNC -n -r --ignore-non-existing -vv "$fromdir/" "$todir/" | tee "$scratchdir/out"if grep 'not creating new.*subdir/file' "$scratchdir/out" >/dev/null; then	test_fail 'test 1 failed'fi# Test 2: Attempt to make a fuzzy dirlist for a dir not created on a dry run$RSYNC -n -r -R --no-implied-dirs -y "$fromdir/./subdir/file" "$todir/" \	|| test_fail 'test 2 failed'# Test 3: --delete-after pass skipped when last dir is dry-missing$RSYNC -n -r --delete-after -i "$fromdir/" "$todir/" | tee "$scratchdir/out"grep '^\*deleting * other' "$scratchdir/out" >/dev/null \	|| test_fail 'test 3 failed'

⌨️ 快捷键说明

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