Skip to content
Snippets Groups Projects
Commit 31f7beca authored by Shubham Sharma's avatar Shubham Sharma
Browse files

get: B#3272 Validation under functional test script

parent 65f5753c
No related branches found
No related tags found
1 merge request!38get: B#3272 leaf check while resolving path
Pipeline #4629 passed
......@@ -17,6 +17,17 @@ supervisorctl status all
ubus-api-validator -d ./test/funl/json/ > ./funl-result.log
ret=$?
output=`ubus call usp.raw get '{"path":"Device.USB.USBHosts.Host.[Enable==0].Device."}' | grep "DeviceNumberOfEntries"`
echo "====================================================================="
echo "Validating Bug 3272 :: $output"
if [ -z "$output" ]; then
echo "Bug Validation 3272 Pass"
else
echo "Bug Validation 3272 Fail"
ret=1
fi
echo "====================================================================="
supervisorctl stop all
supervisorctl status
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment