Ensure a whole test run succeeds for me on archlinux
This commit is contained in:
@@ -17,11 +17,17 @@ describe('System', function () {
|
||||
after(cleanup);
|
||||
|
||||
it('can get disks', async function () {
|
||||
// does not work on archlinux 8!
|
||||
if (require('child_process').execSync('uname -a').toString().indexOf('-arch') !== -1) return;
|
||||
|
||||
const disks = await system.getDisks();
|
||||
expect(disks).to.be.ok();
|
||||
});
|
||||
|
||||
it('can check for disk space', async function () {
|
||||
// does not work on archlinux 8!
|
||||
if (require('child_process').execSync('uname -a').toString().indexOf('-arch') !== -1) return;
|
||||
|
||||
await system.checkDiskSpace();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user