##// END OF EJS Templates
tests: remove hardcoded errno values...
Paul Sonnenschein -
r44243:76d32a0e default
parent child Browse files
Show More
@@ -41,7 +41,7 b' common commands affecting largefile.'
41 > EOF
41 > EOF
42
42
43 $ hg config extensions
43 $ hg config extensions
44 *** failed to import extension largefiles from missing.py: [Errno 2] $ENOENT$: 'missing.py'
44 \*\*\* failed to import extension largefiles from missing.py: [Errno *] $ENOENT$: 'missing.py' (glob)
45 abort: repository requires features unknown to this Mercurial: largefiles!
45 abort: repository requires features unknown to this Mercurial: largefiles!
46 (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
46 (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
47 [255]
47 [255]
@@ -341,13 +341,13 b' Test a checksum failure during the proce'
341 $LOCALIP - - [$ERRDATE$] HG error: Traceback (most recent call last): (glob)
341 $LOCALIP - - [$ERRDATE$] HG error: Traceback (most recent call last): (glob)
342 $LOCALIP - - [$ERRDATE$] HG error: verifies = store.verify(oid) (glob)
342 $LOCALIP - - [$ERRDATE$] HG error: verifies = store.verify(oid) (glob)
343 $LOCALIP - - [$ERRDATE$] HG error: raise IOError(errno.EIO, r'%s: I/O error' % oid.decode("utf-8")) (glob)
343 $LOCALIP - - [$ERRDATE$] HG error: raise IOError(errno.EIO, r'%s: I/O error' % oid.decode("utf-8")) (glob)
344 $LOCALIP - - [$ERRDATE$] HG error: *Error: [Errno 5] f03217a32529a28a42d03b1244fe09b6e0f9fd06d7b966d4d50567be2abe6c0e: I/O error (glob)
344 $LOCALIP - - [$ERRDATE$] HG error: *Error: [Errno *] f03217a32529a28a42d03b1244fe09b6e0f9fd06d7b966d4d50567be2abe6c0e: I/O error (glob)
345 $LOCALIP - - [$ERRDATE$] HG error: (glob)
345 $LOCALIP - - [$ERRDATE$] HG error: (glob)
346 $LOCALIP - - [$ERRDATE$] HG error: Exception happened while processing request '/.git/info/lfs/objects/batch': (glob)
346 $LOCALIP - - [$ERRDATE$] HG error: Exception happened while processing request '/.git/info/lfs/objects/batch': (glob)
347 $LOCALIP - - [$ERRDATE$] HG error: Traceback (most recent call last): (glob)
347 $LOCALIP - - [$ERRDATE$] HG error: Traceback (most recent call last): (glob)
348 $LOCALIP - - [$ERRDATE$] HG error: verifies = store.verify(oid) (glob)
348 $LOCALIP - - [$ERRDATE$] HG error: verifies = store.verify(oid) (glob)
349 $LOCALIP - - [$ERRDATE$] HG error: raise IOError(errno.EIO, r'%s: I/O error' % oid.decode("utf-8")) (glob)
349 $LOCALIP - - [$ERRDATE$] HG error: raise IOError(errno.EIO, r'%s: I/O error' % oid.decode("utf-8")) (glob)
350 $LOCALIP - - [$ERRDATE$] HG error: *Error: [Errno 5] b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c: I/O error (glob)
350 $LOCALIP - - [$ERRDATE$] HG error: *Error: [Errno *] b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c: I/O error (glob)
351 $LOCALIP - - [$ERRDATE$] HG error: (glob)
351 $LOCALIP - - [$ERRDATE$] HG error: (glob)
352 $LOCALIP - - [$ERRDATE$] HG error: Exception happened while processing request '/.hg/lfs/objects/b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c': (glob)
352 $LOCALIP - - [$ERRDATE$] HG error: Exception happened while processing request '/.hg/lfs/objects/b5bb9d8014a0f9b1d61e21e796d78dccdf1352f23cd32812f4850b878ae4944c': (glob)
353 $LOCALIP - - [$ERRDATE$] HG error: Traceback (most recent call last): (glob)
353 $LOCALIP - - [$ERRDATE$] HG error: Traceback (most recent call last): (glob)
@@ -369,7 +369,7 b' Test a checksum failure during the proce'
369 res.setbodybytes(localstore.read(oid))
369 res.setbodybytes(localstore.read(oid))
370 blob = self._read(self.vfs, oid, verify)
370 blob = self._read(self.vfs, oid, verify)
371 raise IOError(errno.EIO, r'%s: I/O error' % oid.decode("utf-8"))
371 raise IOError(errno.EIO, r'%s: I/O error' % oid.decode("utf-8"))
372 *Error: [Errno 5] 276f73cfd75f9fb519810df5f5d96d6594ca2521abd86cbcd92122f7d51a1f3d: I/O error (glob)
372 *Error: [Errno *] 276f73cfd75f9fb519810df5f5d96d6594ca2521abd86cbcd92122f7d51a1f3d: I/O error (glob)
373
373
374 $LOCALIP - - [$ERRDATE$] HG error: Exception happened while processing request '/.hg/lfs/objects/276f73cfd75f9fb519810df5f5d96d6594ca2521abd86cbcd92122f7d51a1f3d': (glob)
374 $LOCALIP - - [$ERRDATE$] HG error: Exception happened while processing request '/.hg/lfs/objects/276f73cfd75f9fb519810df5f5d96d6594ca2521abd86cbcd92122f7d51a1f3d': (glob)
375 $LOCALIP - - [$ERRDATE$] HG error: Traceback (most recent call last): (glob)
375 $LOCALIP - - [$ERRDATE$] HG error: Traceback (most recent call last): (glob)
@@ -40,7 +40,7 b''
40 > EOF
40 > EOF
41
41
42 $ hg config extensions
42 $ hg config extensions
43 *** failed to import extension lfs from missing.py: [Errno 2] $ENOENT$: 'missing.py'
43 \*\*\* failed to import extension lfs from missing.py: [Errno *] $ENOENT$: 'missing.py' (glob)
44 abort: repository requires features unknown to this Mercurial: lfs!
44 abort: repository requires features unknown to this Mercurial: lfs!
45 (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
45 (see https://mercurial-scm.org/wiki/MissingRequirement for more information)
46 [255]
46 [255]
@@ -51,7 +51,7 b''
51 transaction abort!
51 transaction abort!
52 failed to truncate data/b.i
52 failed to truncate data/b.i
53 rollback failed - please run hg recover
53 rollback failed - please run hg recover
54 (failure reason: [Errno 13] Permission denied .hg/store/data/b.i')
54 (failure reason: [Errno *] Permission denied .hg/store/data/b.i') (glob)
55 strip failed, backup bundle
55 strip failed, backup bundle
56 abort: Permission denied .hg/store/data/b.i'
56 abort: Permission denied .hg/store/data/b.i'
57 % after update 0, strip 2
57 % after update 0, strip 2
@@ -105,7 +105,7 b''
105 transaction abort!
105 transaction abort!
106 failed to truncate 00manifest.i
106 failed to truncate 00manifest.i
107 rollback failed - please run hg recover
107 rollback failed - please run hg recover
108 (failure reason: [Errno 13] Permission denied .hg/store/00manifest.i')
108 (failure reason: [Errno *] Permission denied .hg/store/00manifest.i') (glob)
109 strip failed, backup bundle
109 strip failed, backup bundle
110 abort: Permission denied .hg/store/00manifest.i'
110 abort: Permission denied .hg/store/00manifest.i'
111 % after update 0, strip 2
111 % after update 0, strip 2
General Comments 0
You need to be logged in to leave comments. Login now