monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] 216 invalid_--root_settings FAIL (line 13)


From: Tobias Hunger
Subject: Re: [Monotone-devel] 216 invalid_--root_settings FAIL (line 13)
Date: Sun, 5 Aug 2007 01:08:54 +0200
User-agent: KMail/1.9.7

On Saturday 04 August 2007, Thomas Keller wrote:
> Nathaniel Smith schrieb:
> > Maybe the test should Complain Mightily or something if /tmp/_MTN
> > exists?
>
> You're right of course. Changed in
> 26349f7bcaadd5fd99b75610bc8d2838a8104b12.
>
> Thomas.

Hello Thomas,

I played some more with the stuff found in the log I send earlier.
Running these commands in /tmp/release/mtn/tester_dir/invalid_--root_settings 
gets some strange (at least to me;-) results:

First I tried a root of ".":
> /tmp/release/mtn/mtn --norc 
> --root=/tmp/release/mtn/tester_dir/invalid_--root_settings 
> --confdir=/tmp/release/mtn/tester_dir/invalid_--root_settings --rcfile 
> /tmp/release/mtn/tester_dir/invalid_--root_settings/test_hooks.lua 
> --db=/tmp/release/mtn/tester_dir/invalid_--root_settings/test.db --keydir 
> /tmp/release/mtn/tester_dir/invalid_--root_settings/keys address@hidden 
status --root .
Current branch: testbranch
Changes against parent
  no changes

That looks like something expected...

Then I set --root to /tmp:

> /tmp/release/mtn/mtn --norc 
> --root=/tmp/release/mtn/tester_dir/invalid_--root_settings 
> --confdir=/tmp/release/mtn/tester_dir/invalid_--root_settings --rcfile 
> /tmp/release/mtn/tester_dir/invalid_--root_settings/test_hooks.lua 
> --db=/tmp/release/mtn/tester_dir/invalid_--root_settings/test.db --keydir 
> /tmp/release/mtn/tester_dir/invalid_--root_settings/keys address@hidden 
status --root /tmp
Current branch: testbranch
Changes against parent
  no changes
> ls -alF /tmp/_MTN
ls: /tmp/_MTN: No such file or directory

As you can see from the ls there is no _MTN directory in /tmp.

So I tried using a different directory (/usr):

> /tmp/release/mtn/mtn --norc 
> --root=/tmp/release/mtn/tester_dir/invalid_--root_settings 
> --confdir=/tmp/release/mtn/tester_dir/invalid_--root_settings --rcfile 
> /tmp/release/mtn/tester_dir/invalid_--root_settings/test_hooks.lua 
> --db=/tmp/release/mtn/tester_dir/invalid_--root_settings/test.db --keydir 
> /tmp/release/mtn/tester_dir/invalid_--root_settings/keys address@hidden 
status --root /usr
mtn: warning: current 
directory '/tmp/release/mtn/tester_dir/invalid_--root_settings' is not below 
root '/usr'
mtn: misuse: workspace required but not found

That looks like something I'd expect:-)

Is there something fishy here?

Best Regards,
Tobias

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]