a bug in test environment?

Oleg G. Sharov o.sharov at gmail.com
Sun Dec 2 20:29:49 PST 2007


Hi!

I have a similar test case

tc = dttest.testcase(repo="a.gz")
tc.dt(["ls"])
tc.wc_replace(rev=-1)
tc.dt(["ls"])

-----------------------
or
  last_rev = tc.last_rev()
  tc.wc_replace(rev=last_rev-1)
instead of
  tc.wc_replace(rev=-1)
-----------------------

this test case is failed with error

ERR.LOG
=======
Traceback (most recent call last):
  File "./test.py", line 38, in ?
    tc.dt(["ls"])
  File "/usr/home/oleg/devel/ditrack/src/trunk/tests/dttest/dttest.py", line 354, in dt
    assert os.WEXITSTATUS(status) == expected_status, \
AssertionError:

Command: dt -d /usr/home/oleg/devel/ditrack/src/trunk/tests/cache/work/db ls


ls.err
======
'/usr/home/oleg/devel/ditrack/src/trunk/tests/cache/work/db' (specified in command line) is not an issue database root


I think we have a bug in test environment.

-- 
Best regards,
Oleg G. Sharov
mailto:o.sharov at gmail.com



More information about the Dev mailing list