Index: tol_tests/tol/Bugzilla/bug_001337/test.tol
===================================================================
--- tol_tests/tol/Bugzilla/bug_001337/test.tol	(revision e318a3feffe46b7c196bbc57e4a583e0922350ec)
+++ tol_tests/tol/Bugzilla/bug_001337/test.tol	(revision e318a3feffe46b7c196bbc57e4a583e0922350ec)
@@ -0,0 +1,39 @@
+/* -*- mode: C++ -*- */
+//////////////////////////////////////////////////////////////////////////////
+// FILE   : test.tol
+// PURPOSE: test for a resolved bug
+//////////////////////////////////////////////////////////////////////////////
+
+//Sets the bugzilla identifier number, your e-mail and the bugŽs summary
+  Real bugNum_ =  1337;
+  Text email_ = "vdebuen@tol-project.org"; 
+  Text summary_="TOLBase hangs down when trying to Datch in NoDating TimeSet";
+  Text link_ = GetTolBugzillaLink(bugNum_);
+
+  //Write here the initial test TOL code if needed
+  
+  Real numErr0 = Copy(NError);
+  Real numWar0 = Copy(NWarning);
+
+  Serie UnknownSerie;
+  TimeSet t = SerTms(UnknownSerie);
+  Serie ser = DatCh(CalInd(C, Diario), t, FirstS);
+
+  Real numErr1 = Copy(NError);
+  Real numWar1 = Copy(NWarning);
+
+  Set partialResults_ = [[ numErr0,numErr1,numWar1,numWar0]];
+
+//This is a messure of the success of the test 
+  Real quality_ = And(numErr1==numErr0,numWar1==numWar0);
+
+//Return the results 
+  Set resultStr_ = @strTestStatus(summary_, link_, quality_,
+                    "Partial results = "<<partialResults_,
+                    "NO DBServerType", "NO DBServerHost", "NO DBAlias",
+                    email_);
+  WriteLn(""<<resultStr_);
+  resultStr_;
+
+/* */
+
