From f1b93e49041f0fc1dfe69c56cfbda3a84a046bff Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sun, 17 Mar 2019 17:50:04 -0400 Subject: tests/aux/setup.sh: Make a patch --- diff --git a/tests/aux/setup.sh b/tests/aux/setup.sh index e16b3d6..6b2c95c 100644 --- a/tests/aux/setup.sh +++ b/tests/aux/setup.sh @@ -49,3 +49,14 @@ FOO_SH="$(cat <<-'EOF' mkdir -p '../src/src/' printf '%s\n' "${FOO_SH}" >'../src/src/foo.sh' + +mkdir 'patches/' +cat >'patches/01_goodbye.patch' <<-'EOF' + diff -Naur a/src/foo.sh b/src/foo.sh + --- a/src/foo.sh + +++ b/src/foo.sh + @@ -1,2 +1,2 @@ + #!/bin/sh + -printf 'Hello, world!\n' + +printf 'Goodbye, world!\n' + EOF -- cgit v0.9.1