[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] two patches to get `make check' to pass
From: |
Nathaniel Smith |
Subject: |
Re: [Monotone-devel] two patches to get `make check' to pass |
Date: |
Fri, 9 Sep 2005 17:53:29 -0700 |
User-agent: |
Mutt/1.5.9i |
On Wed, Sep 07, 2005 at 06:01:24PM +0200, Jim Meyering wrote:
> Hello,
>
> I've been lurking, updating, looking at diffs, and building
> `make check' occasionally. I was surprised to see many test
> failures. Today I investigated and found that it was due to
> the fact that `testsuite' is running the monotone binary in
> my path (/usr/bin/monotone == 0.22) rather than the one I'd
> just built. I don't have `.' in my PATH, btw.
Strange; autotest seems to automatically fix that for most people; I
wonder what's different about your setup.
Applied, but setting AUTOTEST_PATH="." instead, as the autotest
documentation recommends. See if that works for you...
> Once I set TESTS_ENVIRONMENT, that solved almost all of those problems.
> One failure remained: #98. It's failing probably because I'm using a
> newer version of `mv' from the GNU coreutils.
>
> When you run `mv DIR_NAME NONEXISTENT_DIR_NAME/',
> where the nonexistent target directory doesn't exist yet
> is specified with a trailing slash, POSIX says mv must treat
> that argument as if it were `NONEXISTENT_DIR_NAME/.'.
> Hence the failure.
>
> mv: target `subdir2/target_dir/the_dir/' is not a directory: No such file
> or directory
Ah-hah! There's a mystery solved -- we've had scattered reports of
failures here, always from people running SuSE, but no-one actually
had any explanation for what was going on... thanks!
Applied.
-- Nathaniel
--
Details are all that matters; God dwells there, and you never get to
see Him if you don't struggle to get them right. -- Stephen Jay Gould