nodejs: Fix ptest result reporting

This fixes
  AssertionError:-
  ptests which had no test results:
  ['nodejs']

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit cd629b722d)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Khem Raj 2023-10-01 01:47:30 -07:00 committed by Armin Kuster
parent 2bb6bb3dad
commit dbfe83d4c5

View File

@ -1,3 +1,8 @@
#!/bin/sh
./cctest
if [ $? = 0 ]; then
echo "PASS: nodejs"
else
echo "FAIL: nodejs"
fi