mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-16 21:31:58 +01:00
train S5: merge #3936 at e18241cb38 v1.94.20.0
This commit is contained in:
commit
7b8daa96e1
5 files changed
+8
-4
No files matched your search
@@ -84,7 +84,7 @@ test('report-dir names the filesystem cause when .gstack is not a directory', ()
|
||||
fs.writeFileSync(path.join(f.root, '.gstack'), 'not a directory\n');
|
||||
const r = f.tool('gstack-qa-evidence', 'report-dir');
|
||||
expect(r.status).toBe(2);
|
||||
expect(r.stderr).toContain('report-dir failed: ENOTDIR');
|
||||
expect(r.stderr).toMatch(process.platform === 'win32' ? /report-dir failed: (ENOTDIR|ENOENT)/ : /report-dir failed: ENOTDIR/);
|
||||
});
|
||||
|
||||
test('report-dir refuses outside a git work tree instead of guessing a location', () => {
|
||||
|
||||
Reference in new issue
Block a user