Home
last modified time | relevance | path

Searched refs:failmsg (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/tc-testing/
H A DTdcResults.py16 self.failmsg = ""
40 def set_failmsg(self, failmsg): argument
41 self.failmsg = failmsg
44 def append_failmsg(self, failmsg): argument
45 self.failmsg = '{}\n{}'.format(self.failmsg, failmsg)
48 return self.failmsg
105 ftap += '\n\t{}'.format(t.failmsg)
117 if t.failmsg:
123 xunit += 'FAILURE: {}\n'.format(escape(t.failmsg))
H A Dtdc.py282failmsg = 'Original output and matchJSON value are not the same type: output: {} != matchJSON: {} '
283 failmsg = failmsg.format(type(outputJSON).__name__, type(matchJSON).__name__)
285 res.set_failmsg(failmsg)
289failmsg = "Your matchJSON value is an array, and it contains more elements than the command under …
290 failmsg = failmsg.format(len(outputJSON), outputJSON, len(matchJSON), matchJSON)
292 res.set_failmsg(failmsg)
318failmsg = 'Original output and matchJSON value are not the same type: output: {} != matchJSON: {}'
319 failmsg = failmsg.format(outputJSONVal, matchJSONVal)
321 res.set_failmsg(failmsg)
325failmsg = "Your matchJSON value is an array, and it contains more elements than the command under …
[all …]
/linux/tools/testing/selftests/net/netfilter/
H A Dnft_flowtable.sh291 local failmsg="FAIL: pmtu $pmtu: $what counters do not match, expected"
296 echo "$failmsg dscp3 == 0, dscp0 > 0, but got $pc4,$pc4z" 1>&2
303 echo "$failmsg dscp3 and dscp0 > 0 but got $pc4,$pc4z" 1>&2
310 echo "$failmsg dscp3 > 0, dscp0 == 0 but got $pc4,$pc4z" 1>&2
317 echo "$failmsg dscp3 > 0, dscp0 == 0 but got $pc4,$pc4z" 1>&2
323 echo "$failmsg: Unknown DSCP check" 1>&2