Module Name: src Committed By: christos Date: Tue Feb 5 16:49:42 UTC 2013
Modified Files: src/tests/usr.sbin/mtree: mtree_d_create.out t_mtree.sh Log Message: ignore directory sizes To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/usr.sbin/mtree/mtree_d_create.out cvs rdiff -u -r1.5 -r1.6 src/tests/usr.sbin/mtree/t_mtree.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/usr.sbin/mtree/mtree_d_create.out diff -u src/tests/usr.sbin/mtree/mtree_d_create.out:1.1 src/tests/usr.sbin/mtree/mtree_d_create.out:1.2 --- src/tests/usr.sbin/mtree/mtree_d_create.out:1.1 Wed Jan 2 13:11:44 2013 +++ src/tests/usr.sbin/mtree/mtree_d_create.out Tue Feb 5 11:49:42 2013 @@ -5,7 +5,7 @@ # . /set type=file nlink=1 -. type=dir nlink=4 size=240 +. type=dir nlink=4 a.symlink.1 type=link size=8 link=a.file.1 top.dangling \ type=link size=11 link=nonexistent @@ -15,7 +15,7 @@ type=link size=1 link=b # ./a -a type=dir nlink=4 size=200 +a type=dir nlink=4 a.file.1 size=18 \ sha256=bdbea62f7ccdf862f22254ea871d523845250010d5f233896e800142a859eef2 a.file.2 size=18 \ @@ -25,7 +25,7 @@ a type=dir nlink=4 size=20 sha256=784fd6b95fe5054d87bf268de51dea043031c5e985f668d4f51e1c759b0f9333 # ./a/1 -1 type=dir nlink=2 size=40 +1 type=dir nlink=2 a1.file.1 size=21 \ sha256=a062cd272facdd38c4fdeff2a18947b28c99a28a8fe51f88468978740382e592 # ./a/1 @@ -33,7 +33,7 @@ a type=dir nlink=4 size=20 # ./a/2 -2 type=dir nlink=2 size=0 +2 type=dir nlink=2 # ./a/2 .. @@ -42,7 +42,7 @@ a type=dir nlink=4 size=20 # ./b -b type=dir nlink=2 size=120 +b type=dir nlink=2 b.file.1 nlink=2 size=18 \ sha256=5754b0d97a8238ea0e495ab871667dcab8f1d684e323290ae76f70c47de18998 b.file.2 nlink=2 size=18 \ Index: src/tests/usr.sbin/mtree/t_mtree.sh diff -u src/tests/usr.sbin/mtree/t_mtree.sh:1.5 src/tests/usr.sbin/mtree/t_mtree.sh:1.6 --- src/tests/usr.sbin/mtree/t_mtree.sh:1.5 Wed Jan 2 13:11:44 2013 +++ src/tests/usr.sbin/mtree/t_mtree.sh Tue Feb 5 11:49:42 2013 @@ -1,4 +1,4 @@ -# $NetBSD: t_mtree.sh,v 1.5 2013/01/02 18:11:44 christos Exp $ +# $NetBSD: t_mtree.sh,v 1.6 2013/02/05 16:49:42 christos Exp $ # # Copyright (c) 2009, 2012 The NetBSD Foundation, Inc. # All rights reserved. @@ -36,7 +36,8 @@ h_postprocess() /^# machine: /s/:.*/: x/ /^# tree: /s/:.*/: x/ /^# date: /s/:.*/: x/ - ' + ' \ + -e '/type=dir/s/ size=[0-9]*//' } h_check()