Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: make check failures in latest CVS



Vin Shelton wrote:

> For the last 2 days the CVS snapshots have failed 'make check' with the
> following error:
> 
> *** /tmp/zsh.ztst.out.1405      Tue Feb  8 20:03:54 2000
> --- /tmp/zsh.ztst.tout.1405     Tue Feb  8 20:03:54 2000
> ***************
> *** 1,2 ****
> - Line 1
> - Line 1
> --- 0 ----
> Test /usr/local/src/zsh-2000-02-08/Test/05command.ztst failed: output differs from expected as shown above for:
>   unfunction fn
>   print 'TRAPDEBUG() {
>       print Line $LINENO
>     }
>     :
>     unfunction TRAPDEBUG
>   }' > fn
>   autoload fn
>   fn
>   rm fn
> Error output:
> fn:6: parse error near `}'
> Was testing: TRAPDEBUG
> /usr/local/src/zsh-2000-02-08/Test/05command.ztst: test failed.

That's a result of my patch that made parse errors in autoloaded
functions be shown. And, as you can see above, it was right, the
typo(s) were in 05command.ztst.

Bye
 Sven

--- Test/05command.ztst.old	Wed Feb  9 09:43:40 2000
+++ Test/05command.ztst	Wed Feb  9 09:43:44 2000
@@ -116,7 +116,7 @@
     }
     :
     unfunction TRAPDEBUG
-  }' > fn
+  ' > fn
   autoload fn
   fn
   rm fn
@@ -128,7 +128,7 @@
   print 'trap '\''print Line $LINENO'\'' DEBUG
     :
     trap - DEBUG
-  }' > fn
+  ' > fn
   autoload fn
   fn
   rm fn

--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author