Subject: | Problem with the ypcat.t test |
Hi Eduardo,
My perl version is 5.8.0. My operation system is Sun Solaris 8 (SunOS 5.8)
I'm trying to build Net:NIS, but the make test is failing on the ypcat.t test when it tries to check the contents of my mail.aliases NIS map.
I don't know a lot about NIS, but i think the problem is that the test has been badly designed rather than there being anything wrong with your module or my environment.
The error i get from the test is:
t/ypcat...........ok 9/10mail.aliases: hugh.carney iii: in tied, not in cmdline
This is down the fact that the mail.aliases key has a space in it. I know you made a comment in the test case saying 'lets hope...'. Would you be able to enhance your test to cope with this?
I'd suggest the way you enhance it is that for maps containing the word mail you look for a comma seperated list. This list is the value, and what's left is the key. How does that sound?
I'd really like to be able to use your module, but unfortunately i'm not allowed to use modules that won't build and pass their tests.
I have thought of changing my mail.aliases, unfortunately it has almost 150,000 enties like this! and i don't have control over the NIS map.
Regards
Sagar