/
niceSOFT
/
patch
Обзор
Документация
Войти
/
niceSOFT
/
patch
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
v2.7.6
tests/context-format
40 строк
694 B
Andreas Gruenbacher
Add broken context-format test cases
18 мар 2016, 12:12
18 мар 2016, 12:12
4f4fd1b
Код
Авторство
О чём код?
# Copyright (C) 2016 Free Software Foundation, Inc. # # Copying and distribution of this file, with or without modification, # in any medium, are permitted without royalty provided the copyright # notice and this notice are preserved. . $srcdir/test-lib.sh use_local_patch use_tmpdir # ============================================================== cat > ab.diff <<EOF *** a --- b *************** *** 6 **** - b --- 5 ---- EOF printf "%s\n" a a a a a b a a a a a > a check 'patch < ab.diff' <<EOF patching file a EOF cat > ab.diff <<EOF *** a --- b *************** *** 11 **** - b --- 10 ---- EOF printf "%s\n" a a a a a a a a a a b > a check 'patch < ab.diff' <<EOF patching file a EOF