[nautilus-actions] Do not take into account some debug messages



commit 1e4bc769fb4b2d4208e9735b2daf26196aba61ef
Author: Pierre Wieser <pwieser trychlos org>
Date:   Wed Mar 17 21:12:58 2010 +0100

    Do not take into account some debug messages

 ChangeLog                     |    5 +++++
 src/test/init-dispose-diff.sh |    6 +++---
 2 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 25be379..25ac485 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-03-17 Pierre Wieser <pwieser trychlos org>
+
+	* src/test/init-dispose-diff.sh:
+	Do not take into account some debug messages.
+
 2009-03-16 Pierre Wieser <pwieser trychlos org>
 
 	* src/utils/nautilus-actions-new.c
diff --git a/src/test/init-dispose-diff.sh b/src/test/init-dispose-diff.sh
index 8b3b882..19012f8 100755
--- a/src/test/init-dispose-diff.sh
+++ b/src/test/init-dispose-diff.sh
@@ -21,9 +21,9 @@ fi
 
 if [ "${2}" = "" ]; then
 	display_ok=1
-elif [ "${2}" = "false" ]; then
+elif [ "${2}" = "display_ok=false" ]; then
 	display_ok=0
-elif [ "${2}" != "true" ]; then
+elif [ "${2}" != "display_ok=true" ]; then
 	usage
 	exit 1
 fi
@@ -105,7 +105,7 @@ echo -n "Extracting and formatting relevant lines from ${1}"
 count100=0
 count500=0
 total=0
-grep -En 'instance_init|instance_dispose' ${1} | grep -v "quitting main window" | while read line; do
+grep -En 'instance_init|instance_dispose' ${1} | grep -vE 'quitting main window|parent=|children=|tree=|deleted=' | while read line; do
 	let total+=1
 	let count100+=1
 	if [ ${count100} -ge 100 ]; then



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]