mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-01-04 08:05:16 +01:00
Fix patch passed via stdin in tests
[picture of I Have No Idea What I'm Doing dog] https://travis-ci.org/sstephenson/ruby-build/builds/23435342
This commit is contained in:
parent
c76cde673e
commit
1786cf75d2
1 changed files with 2 additions and 2 deletions
|
@ -87,7 +87,7 @@ OUT
|
|||
stub_make_install
|
||||
stub patch ' : echo patch "$@" | sed -E "s/\.[[:alnum:]]+$/.XXX/" >> build.log'
|
||||
|
||||
echo | TMPDIR="$TMP" install_fixture --patch definitions/needs-yaml
|
||||
TMPDIR="$TMP" install_fixture --patch definitions/needs-yaml <<<""
|
||||
assert_success
|
||||
|
||||
unstub make
|
||||
|
@ -113,7 +113,7 @@ OUT
|
|||
stub_make_install
|
||||
stub patch ' : echo patch "$@" | sed -E "s/\.[[:alnum:]]+$/.XXX/" >> build.log'
|
||||
|
||||
echo 'diff --git a/script.rb' | TMPDIR="$TMP" install_fixture --patch definitions/needs-yaml
|
||||
TMPDIR="$TMP" install_fixture --patch definitions/needs-yaml <<<"diff --git a/script.rb"
|
||||
assert_success
|
||||
|
||||
unstub make
|
||||
|
|
Loading…
Reference in a new issue