Mercurial > hg-stable
comparison tests/test-convert.t @ 20008:e54a078153f7
tests: skip tests that require not having root (issue4089)
This adds a new root hghave to test against. Almost all of these are a
subset of unix-permissions, but that is also used for checking exec
bit handling.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 14 Nov 2013 18:07:43 -0600 |
parents | e271970b9821 |
children | 81cf597dafa9 7f4cf938643d |
comparison
equal
deleted
inserted
replaced
20007:23edc6673f0d | 20008:e54a078153f7 |
---|---|
308 $ hg convert a bogusfile | 308 $ hg convert a bogusfile |
309 initializing destination bogusfile repository | 309 initializing destination bogusfile repository |
310 abort: cannot create new bundle repository | 310 abort: cannot create new bundle repository |
311 [255] | 311 [255] |
312 | 312 |
313 #if unix-permissions | 313 #if unix-permissions no-root |
314 | 314 |
315 conversion to dir without permissions should fail | 315 conversion to dir without permissions should fail |
316 | 316 |
317 $ mkdir bogusdir | 317 $ mkdir bogusdir |
318 $ chmod 000 bogusdir | 318 $ chmod 000 bogusdir |