summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2012-08-01 15:02:24 +0200
committerAndreas Gruenbacher <agruen@linbit.com>2012-08-01 15:10:22 +0200
commit120927804de8e523ef9cb8ee7f4210967d4cb80e (patch)
tree896e82a864d3447492546bfbd5c8a4cde5cf7b21
parent46e58be9cc872aba55dbe89eef9261675722c323 (diff)
downloadpatch-120927804de8e523ef9cb8ee7f4210967d4cb80e.tar.gz
Add file create test case which still needs to be fixed
* tests/concat-git-diff: Add file create test case.
-rw-r--r--tests/concat-git-diff9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/concat-git-diff b/tests/concat-git-diff
index 3bc48ed..a6f1539 100644
--- a/tests/concat-git-diff
+++ b/tests/concat-git-diff
@@ -12,10 +12,15 @@ use_tmpdir
# ==============================================================
-ncheck 'echo one > f'
-
cat > concatenated.diff <<EOF
diff --git a/f b/f
+new file mode 100644
+index 0000000..5626abf
+--- /dev/null
++++ b/f
+@@ -0,0 +1 @@
++one
+diff --git a/f b/f
index 5626abf..f719efd 100644
--- a/f
+++ b/f