From: Erik van der Kouwe Date: Fri, 6 Aug 2010 09:27:49 +0000 (+0000) Subject: Fix cdiff error in testsh1.sh X-Git-Tag: v3.1.8~94 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/Bv9ARM.ch05.html?a=commitdiff_plain;h=5d4ef90b2cbada1a8259ffa9f986063a32a3f1a9;p=minix.git Fix cdiff error in testsh1.sh --- 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