Removed "tail +5" from the command used to sanity check changes to

mtree files -- the 5-line header is no longer printed when mtree(8)
is run with -n (as of mtree/create.c,v 1.34).

Approved by:	re (kensmith)
This commit is contained in:
ru 2007-10-03 05:44:27 +00:00
parent 0f8fd83658
commit da20e23951

View File

@ -26,7 +26,7 @@ and keep them in good working order.
mkdir /tmp/MTREE mkdir /tmp/MTREE
mtree -deU -f BSD.X.dist -p /tmp/MTREE mtree -deU -f BSD.X.dist -p /tmp/MTREE
mtree -cdin -k uname,gname,mode -p /tmp/MTREE | \ mtree -cdin -k uname,gname,mode -p /tmp/MTREE | \
sed -e 's/ *$//' | tail +5 >BSD.X.new sed -e 's/ *$//' >BSD.X.new
diff -u BSD.X.dist BSD.X.new diff -u BSD.X.dist BSD.X.new
rm -r /tmp/MTREE rm -r /tmp/MTREE