source:
patches/patch-2.6.1-test_fix-1.patch@
51ae025
Last change on this file since 51ae025 was 9d2405f, checked in by , 13 years ago | |
---|---|
|
|
File size: 892 bytes |
-
tests/crlf-handling
Submitted by: Matt Burgess <matthew at linuxfromscratch.org> Date: 2010-01-03 Initial Package Version: 2.6.1 Upstream Status: Submitted Origin: Matt Burgess Description: Prevents a test from failing when ed is not available. diff -Naur patch-2.6.1.orig/tests/crlf-handling patch-2.6.1/tests/crlf-handling
old new 89 89 90 90 # -------------------------------------------------------------- 91 91 92 diff -e a b > ab.diff 93 cp a c 94 check 'patch c < ab.diff' <<EOF 92 if ! have_ed ; then 93 echo "The ed utility is not available; skipping ed related tests" 94 else 95 diff -e a b > ab.diff 96 cp a c 97 check 'patch c < ab.diff' <<EOF 95 98 EOF 99 fi 96 100 97 101 check 'cat -A c' <<EOF 98 102 1b^M$
Note:
See TracBrowser
for help on using the repository browser.