aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/patches
diff options
context:
space:
mode:
authorAdam Vandenberg2010-02-10 22:21:24 -0800
committerAdam Vandenberg2010-04-06 08:27:10 -0700
commitfd453107c6bade4320ca7bafcc7707eef24ce01e (patch)
treef3ca37be4314ec1596547d9980ce78e6508bbbf6 /Library/Homebrew/test/patches
parent298c74d147479186dbe1f99988ccda1de0747753 (diff)
downloadbrew-fd453107c6bade4320ca7bafcc7707eef24ce01e.tar.bz2
Add tests for patching.
Diffstat (limited to 'Library/Homebrew/test/patches')
-rw-r--r--Library/Homebrew/test/patches/noop-a.diff10
-rw-r--r--Library/Homebrew/test/patches/noop-b.diff10
2 files changed, 20 insertions, 0 deletions
diff --git a/Library/Homebrew/test/patches/noop-a.diff b/Library/Homebrew/test/patches/noop-a.diff
new file mode 100644
index 000000000..7b57f8fc9
--- /dev/null
+++ b/Library/Homebrew/test/patches/noop-a.diff
@@ -0,0 +1,10 @@
+diff --git a/libexec/NOOP b/libexec/NOOP
+index bfdda4c..e08d8f4 100755
+--- a/libexec/NOOP
++++ b/libexec/NOOP
+@@ -1,2 +1,2 @@
+ #!/bin/bash
+-echo NOOP
+\ No newline at end of file
++echo ABCD
+\ No newline at end of file
diff --git a/Library/Homebrew/test/patches/noop-b.diff b/Library/Homebrew/test/patches/noop-b.diff
new file mode 100644
index 000000000..bc081ca82
--- /dev/null
+++ b/Library/Homebrew/test/patches/noop-b.diff
@@ -0,0 +1,10 @@
+diff --git libexec/NOOP libexec/NOOP
+index bfdda4c..e08d8f4 100755
+--- libexec/NOOP
++++ libexec/NOOP
+@@ -1,2 +1,2 @@
+ #!/bin/bash
+-echo NOOP
+\ No newline at end of file
++echo ABCD
+\ No newline at end of file