From 5d4ef90b2cbada1a8259ffa9f986063a32a3f1a9 Mon Sep 17 00:00:00 2001 From: Erik van der Kouwe Date: Fri, 6 Aug 2010 09:27:49 +0000 Subject: [PATCH] Fix cdiff error in testsh1.sh --- test/testsh1.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testsh1.sh b/test/testsh1.sh index eccff8f34..e3d3c3163 100755 --- a/test/testsh1.sh +++ b/test/testsh1.sh @@ -72,7 +72,7 @@ if test `basename a/b/c/d` != 'd'; then Error on basename test 2; fi cp $f x.c # x.c is a copy $f echo "/a/s//#####/g" >s # create sed script sed -f s y.c # y.c is new version of x.c -cdiff x.c y.c >y # y is cdiff listing +diff -c x.c y.c >y # y is cdiff listing patch x.c y 2>/dev/null # z should be y.c if cmp -s x.c y.c; then : ; else echo Error in cdiff test; fi rm x.c* y.c s y -- 2.44.0