summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruen@linbit.com>2012-09-17 23:27:01 +0200
committerAndreas Gruenbacher <agruen@linbit.com>2012-09-18 00:47:30 +0200
commit95f6823325069467d437c258b2246529c550714d (patch)
tree4b3d65d533e8f9aa0e74da0c5388ef30a4be9079
parent1ea53aae179f1590a9d255c490b376dae158648e (diff)
downloadpatch-95f6823325069467d437c258b2246529c550714d.tar.gz
Minor test case updates
* tests/dash-o-append: Minor update (still expected to fail). * tests/symlinks: Minor update.
-rw-r--r--tests/dash-o-append4
-rw-r--r--tests/symlinks8
2 files changed, 6 insertions, 6 deletions
diff --git a/tests/dash-o-append b/tests/dash-o-append
index 3119840..1633699 100644
--- a/tests/dash-o-append
+++ b/tests/dash-o-append
@@ -33,8 +33,8 @@ EOF
echo one > a
check 'patch -o a.new a < a.diff' <<EOF
-patching file a
-patching file a
+patching file a.new (read from a)
+patching file a.new (read from a)
EOF
check 'cat a.new' <<EOF
diff --git a/tests/symlinks b/tests/symlinks
index 829bcbc..f21a76d 100644
--- a/tests/symlinks
+++ b/tests/symlinks
@@ -22,7 +22,7 @@ cat > create.diff <<EOF
EOF
rm -f f l
-echo f > f
+echo one > f
ncheck 'ln -s f l'
check 'patch < create.diff || echo "Status: $?"' <<EOF
@@ -32,13 +32,13 @@ Status: 1
EOF
check 'cat f' <<EOF
-f
+one
EOF
# --------------------------------------------------------------
rm -f f l
-echo f > f
+echo one > f
ncheck 'ln -s f l'
cat > modify.diff <<EOF
@@ -57,7 +57,7 @@ EOF
# --------------------------------------------------------------
rm -f f l
-echo f > f
+echo one > f
ncheck 'ln -s f l'
cat > delete.diff <<EOF