From 35e1864e716cf3a1f4473d7d94e578fedd86dbcc Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Thu, 2 Oct 2003 05:09:02 +0000 Subject: [PATCH] Fix dump tests which compare before/after dumps using ls - directory size is not constant in the presense of large inums --- common.dump | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common.dump b/common.dump index eeb74cd4..d90b6eec 100644 --- a/common.dump +++ b/common.dump @@ -722,12 +722,15 @@ _create_dumpdir_hardlinks() # # Filter for ls # Filter out dates on symlinks and char devices +# Filter out size on directories because this can differ +# when transitioning to long inode numbers (ie. 64 bits). # _ls_filter() { $AWK_PROG ' /^l/ { date = $8; sub(date,"DATE"); print} /^c/ { date = $9; sub(date,"DATE"); print} + /^d/ { size = $5; sub(size,"SIZE"); print} {print}' \ | sed -e 's/total [0-9][0-9]*/total TOTAL/' } -- 2.30.2