From ead04043d689d6d0710719c49665e87cfacebc68 Mon Sep 17 00:00:00 2001 From: Bryan Roe Date: Thu, 7 Jul 2022 12:41:27 -0700 Subject: [PATCH] Fixed test case for freebsd --- test/self-test.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/self-test.js b/test/self-test.js index 88d2eb6..5af2af2 100644 --- a/test/self-test.js +++ b/test/self-test.js @@ -707,6 +707,11 @@ server.on('upgrade', function (msg, sck, head) { //var vals = v.substring(19).split('\n').join('').split('\r').join('').split('.').join('').split(' ').join(''); process.stdout.write('\r Console Test (Help).....................................[OK] \n'); + if (process.platform == 'freebsd') + { + process.stdout.write(' CPUINFO Test............................................[NA]\n'); + return; + } process.stdout.write(' CPUINFO Test............................................[WAITING]'); global._client.command({ sessionid: 'user//foo//bar', rights: 4294967295, consent: 64, action: 'msg', type: 'cpuinfo' }); return (promises.cpuinfo);