[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
test failure (HAVE_GETPWUID) on MacOS X
From: |
Ben Abbott |
Subject: |
test failure (HAVE_GETPWUID) on MacOS X |
Date: |
Thu, 31 Dec 2009 21:59:10 -0500 |
I've posted this before, but as there has been no reply, I'm trying again ...
with a more specific subject this time.
http://old.nabble.com/2-test-failures-on-Mac-OS-10.6-tc26892662.html#a26892662
The test below fails during "make check".
349 >>>>> processing test_system
350 ***** testif HAVE_GETPWUID
351 x = getpwuid (getuid ());
352 assert((strcmp (x.dir, tilde_expand ("~"))
353 && strcmp (x.dir, tilde_expand (sprintf ("~%s", x.name)))
354 && strcmp ("foobar", tilde_expand ("foobar"))));
355 !!!!! test failed
356 assert ((strcmp (x.dir, tilde_expand ("~")) && strcmp (x.dir, tilde_expand
(sprintf ("~%s", x.name))) && strcmp ("foobar", tilde_expand ("foobar"))))
failed
357 >>>>> processing test_transpose
358 >>>>> processing test_try
359 >>>>> processing test_unwind
360 >>>>> processing test_while
361
362 Files with no tests:
However, the "assert" passes when I try it on the command line.
octave:14> (strcmp (x.dir, tilde_expand ("~")) && strcmp (x.dir, tilde_expand
(sprintf ("~%s", x.name))) && strcmp ("foobar", tilde_expand ("foobar")))
ans = 1
Previously, I mention the error below when I ran the test from the command line.
octave:6> test test_system
***** test
pause (0);
printf_assert ("ok\n");
assert(prog_output_assert("ok"));
!!!!! test failed
`printf_assert' undefined near line 4 column 2
However, that error is to be expected as printf_assert is defined in fntests.m.
166 function printf_assert (varargin)
167 global _assert_printf;
168 _assert_printf = cat (2, _assert_printf, sprintf (varargin{:}));
169 endfunction
Is anyone else seeing this?
Ben
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- test failure (HAVE_GETPWUID) on MacOS X,
Ben Abbott <=