Test failures when TMPDIR points at a symlink

Bug #141382 reported by Jelmer Vernooij
2
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Low
Vincent Ladeuil

Bug Description

  affects /products/bzr
  importance low

When the path set in the TMPDIR environment variable contains a symbolic
link, several tests will fail:

FAIL:
test_selftest.TestTestCaseInTempDir.test_home_is_not_working
    not equal:
a = '/home/jelmer/tmp/testbzr-bZX9pR.tmp/tmpceiobN/work'
b = u'/tmp/testbzr-bZX9pR.tmp/tmpceiobN/work'

FAIL:
test_selftest.TestTestCaseWithMemoryTransport.test_cwd_is_TEST_ROOT
    not equal:
a = '/home/jelmer/tmp/testbzr-bZX9pR.tmp'
b = u'/tmp/testbzr-bZX9pR.tmp'

FAIL:
test_sftp_transport.SFTPTransportTestRelative.test__remote_path
    not equal:
a = '/home/jelmer/tmp/testbzr-bZX9pR.tmp/tmpgxRjKq/work/relative'
b = '/tmp/testbzr-bZX9pR.tmp/tmpgxRjKq/work/relative'

Revision history for this message
Vincent Ladeuil (vila) wrote :

Encountered it on OSX where /tmp points to /private/tmp.

Patch already approved, should land soon in bzr.dev

Changed in bzr:
assignee: nobody → v-ladeuil
status: New → Confirmed
Revision history for this message
Vincent Ladeuil (vila) wrote :

I forgot to say:

Haha ! I fixed before you reported it :D

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 141382] Re: Test failures when TMPDIR points at a symlink

Am Freitag, den 21.09.2007, 12:09 +0000 schrieb vila:
> Encountered it on OSX where /tmp points to /private/tmp.
>
> Patch already approved, should land soon in bzr.dev
Nice, thanks! :-)
--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Vincent Ladeuil (vila)
Changed in bzr:
status: Confirmed → Fix Committed
Vincent Ladeuil (vila)
Changed in bzr:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.