/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/tests/test_osutils.py

  • Committer: Jelmer Vernooij
  • Author(s): Igor Pashev
  • Date: 2018-09-18 01:55:37 UTC
  • mto: This revision was merged to the branch mainline in revision 7123.
  • Revision ID: jelmer@jelmer.uk-20180918015537-9b7w1jmob8adwqgm
Allow /dev/null to be a symlink.

Show diffs side-by-side

added added

removed removed

Lines of Context:
313
313
            if e.errno not in (errno.ENOENT,):
314
314
                raise
315
315
        else:
316
 
            self.assertEqual('chardev', osutils.file_kind('/dev/null'))
 
316
            self.assertEqual(
 
317
                    'chardev',
 
318
                    osutils.file_kind(os.path.realpath('/dev/null')))
317
319
 
318
320
        mkfifo = getattr(os, 'mkfifo', None)
319
321
        if mkfifo: