Use SPDX license identifiers in remaining files.There are a few places we can replace existing licensetext with SPDX license identifiers, that did not matchthe auto-replacement script in the prev
Use SPDX license identifiers in remaining files.There are a few places we can replace existing licensetext with SPDX license identifiers, that did not matchthe auto-replacement script in the previous patch.Make those replacements manually in this patch instead.Signed-off-by: Jim Harris <james.r.harris@intel.com>Change-Id: I258720c03bc2153d1c56a8adf6357f224b911c0bReviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12913Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>Community-CI: Mellanox Build BotTested-by: SPDK CI Jenkins <sys_sgci@intel.com>Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>Reviewed-by: Dong Yi <dongx.yi@intel.com>Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
show more ...
test/match: support for matching UUIDsThe script can now match UUIDs via the $(UUID) marker.Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>Change-Id: Ied11f9ce65e4f1102309523f3f8ec0ee7c
test/match: support for matching UUIDsThe script can now match UUIDs via the $(UUID) marker.Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>Change-Id: Ied11f9ce65e4f1102309523f3f8ec0ee7c9e74d0Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11410Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>Reviewed-by: Jim Harris <james.r.harris@intel.com>Reviewed-by: Ben Walker <benjamin.walker@intel.com>
test/match: do not ignore all input when passing \nMatch script before this change ignored all inputwhen passing just a new line in ignore file.This was because \n symbol was stripped from thatp
test/match: do not ignore all input when passing \nMatch script before this change ignored all inputwhen passing just a new line in ignore file.This was because \n symbol was stripped from thatparticular line (chop()) leaving empty string.This always matched all of the input when using index().Now when comparing the input line and ignore line,we check that ignore line is not empty.Besides that, to still allow ignoring new lineswe check and compare both strings directly.Changed chop() to chomp() to prevent further breakage,difference is that chomp() only strips new line characters.As that was the original intention anyway.The loop changed so we exit on first instance of ignoredline matching, rather than mention particular linemultiple times for each matched ignore.Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>Change-Id: I62d48e1130c600ffff6713d2748239cc955bbe9eReviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/483834Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>Reviewed-by: Ben Walker <benjamin.walker@intel.com>Reviewed-by: Jim Harris <james.r.harris@intel.com>
test: add 'match' util and use it with blobstoreWill follow this up with a doc change but want to make sure we'reall good with it first. This is meant to not only beef upblobstore testing but pro
test: add 'match' util and use it with blobstoreWill follow this up with a doc change but want to make sure we'reall good with it first. This is meant to not only beef upblobstore testing but provide the 'match' utilitiy for all testcases where we are currently calling an executable and eithercounting only on a return code to determine success or failureor worse yet we're just running it and if it doesn't explode weassume its a pass.The 'match' util was borrowed from the PMDK folks after firstadding the "ignore" feature upstream to make it easier to usein SPDK. It works like this:When the developer checks in a test they create and check inthe output of the test with two different file extensions:.ignore: should include a string per line for output linesthat we want to totally ignore typically because they'replatform specific so the output could be different frommachine to machine. In this case I'm ignoring all outputlines with 'DPDK' or 'EAL' or '...' in them. The firstfew are obvious, the last is because the test tool willprint a varrying number of these as progress indicators..match: this is a copy of the output that the developer'fixes' up by replacing platform specific output stringswith replacable tokens as described in the 'match' help.This is where you'd want to match an entire line minussomething like a CPU count or free block count orsomething. The 'ignore' feature was added simply so wewouldn't have to edit every single line of an outputfile that had DPDK or EAL in it.Then you modify the test script to save the output andsmply run the match util providing the name of thematch file and if it fails to match the actual outputwith the saved output that's been token'ized the scriptwill error.The obvious advantage here is that now we can confirm allof the output from a test executable is as we expect.Change-Id: I701d36ee83d37b6193e16ed3171e114f814e5eb3Signed-off-by: paul luse <paul.e.luse@intel.com>Reviewed-on: https://review.gerrithub.io/397027Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>Reviewed-by: Jim Harris <james.r.harris@intel.com>