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

Re: Test/V01private.ztst skipped (was: zsh 5.1.1-test-1)



On Nov 21, 11:01pm, Daniel Shahaf wrote:
}
}     % make test
}     (eval):4: failed to load module `zsh/param/private': /home/daniel/src/zsh/Test/Modules/zsh/param/private.so: cannot open shared object file: No such file or directory

So obviously the 2>/dev/null is in the wrong place.

No response to my grumbling in workers/37086 ...


diff --git a/Test/V10private.ztst b/Test/V10private.ztst
index 6c38e39..cefeba9 100644
--- a/Test/V10private.ztst
+++ b/Test/V10private.ztst
@@ -2,10 +2,11 @@
 
 %prep
 
- if ! (zmodload zsh/param/private >/dev/null 2>/dev/null); then
+ if ! (zmodload zsh/param/private) >/dev/null 2>/dev/null; then
    ZTST_unimplemented="can't load the zsh/param/private module for testing"
+ else
+   zmodload zsh/param/private
  fi
- zmodload zsh/param/private
 
 %test
 



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