Show More
@@ -68,9 +68,13 b' Current directory removed:' | |||
|
68 | 68 | $ mkdir $TESTTMP/repo1 |
|
69 | 69 | $ cd $TESTTMP/repo1 |
|
70 | 70 | $ rm -rf $TESTTMP/repo1 |
|
71 | $ HGDEMANDIMPORT=disable hg version -q | |
|
72 | abort: error getting current working directory: * (glob) (no-chg !) | |
|
73 |
|
|
|
74 | [255] | |
|
71 | ||
|
72 | The output could be one of the following and something else: | |
|
73 | chg: abort: failed to getcwd (errno = *) (glob) | |
|
74 | abort: error getting current working directory: * (glob) | |
|
75 | sh: 0: getcwd() failed: No such file or directory | |
|
76 | Since the exact behavior depends on the shell, only check it returns non-zero. | |
|
77 | $ HGDEMANDIMPORT=disable hg version -q 2>/dev/null || false | |
|
78 | [1] | |
|
75 | 79 | |
|
76 | 80 | #endif |
General Comments 0
You need to be logged in to leave comments.
Login now