testexecfw/tef/test/tools/tefcmp.pl
changeset 0 3e07fef1e154
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/testexecfw/tef/test/tools/tefcmp.pl	Mon Mar 08 15:03:44 2010 +0800
@@ -0,0 +1,39 @@
+#
+# Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
+# All rights reserved.
+# This component and the accompanying materials are made available
+# under the terms of "Eclipse Public License v1.0"
+# which accompanies this distribution, and is available
+# at the URL "http://www.eclipse.org/legal/epl-v10.html".
+#
+# Initial Contributors:
+# Nokia Corporation - initial contribution.
+#
+# Contributors:
+#
+# Description: 
+#
+
+require tefcmp;
+( $argv1, $argv2) = @ARGV;
+
+$_ = @ARGV;
+if ( ( @ARGV < 2 ) || (/(\-h|\-\-help|\/\?|\?)/) ) {
+	Usage();
+}
+
+compareBase2DABS($argv1, $argv2);
+print "\nDone." . "\nChecking dailyregresultfile.txt at current dir.\n"; 
+
+
+sub Usage () {
+	print <<ENDHERESTRING;
+Author : Shuo Huang
+	
+Common usage : TEFCmp [BaseDir] [DABSDir]
+   Compare BaseDir to DABSDir. The compare result output at curernt directory, \
+   file name is \"dailyregresultfile.txt\". The file will be overwrite eachtime.
+
+ENDHERESTRING
+	exit 1;
+}
\ No newline at end of file