numam-spdk/test
Tomasz Zawadzki 2d687618f3 test/match: do not ignore all input when passing \n
Match script before this change ignored all input
when passing just a new line in ignore file.
This was because \n symbol was stripped from that
particular 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 lines
we 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 ignored
line matching, rather than mention particular line
multiple times for each matched ignore.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I62d48e1130c600ffff6713d2748239cc955bbe9e
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/483834
Tested-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>
2020-02-04 20:08:02 +00:00
..
app test/match: do not ignore all input when passing \n 2020-02-04 20:08:02 +00:00
bdev bdevperf: Use spdk_thread_send_msg() instead of spdk_event_call() 2020-02-04 18:24:11 +00:00
blobfs test/blobfs: Fix typo in the mount check 2020-02-03 11:39:18 +00:00
blobstore test/blob: fix match tool with blobcli 2020-02-04 20:08:02 +00:00
common test/common: Include BASH_ARGV[]s in the backtrace 2020-01-31 12:39:22 +00:00
compress module/compress: rename set_compress_pmd RPC to match convention 2020-01-31 12:37:31 +00:00
config_converter test: shellcheck - apply rule SC2002 2020-01-17 14:07:39 +00:00
cpp_headers queue_extras: use SPDK_CONTAINEROF 2019-10-07 15:06:01 +00:00
dpdk_memory_utility test: add test to validate dpdk mem utility 2020-01-24 05:46:43 +00:00
env test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
event test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
ftl bdev/ftl: "use_append" parameter for bdev_ftl_create RPC 2020-02-04 18:10:01 +00:00
fuzz test/fuzz fix end of test behavior. 2020-01-20 09:59:49 +00:00
ioat test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
iscsi_tgt test/common: make gdb_attach global 2020-01-27 17:39:52 +00:00
json_config test/json_config: Freebsd supports python3 now so use it 2020-01-17 14:07:39 +00:00
lvol test/lvol: rewrite destroy_lvol_store_nonexistent_lvs_uuid to bash 2020-02-04 19:27:53 +00:00
make test: shellcheck - apply rule SC2002 2020-01-17 14:07:39 +00:00
nvme test/nvme: cuse nvme-cli check if oacs firmware supported 2020-01-20 10:01:00 +00:00
nvmf test/nvmf: disable bdevperf tests on soft-roce 2020-01-30 16:52:10 +00:00
ocf test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
openstack test/openstack: Add possibility to reinstall devstack on required branch 2019-11-07 13:22:50 +00:00
pmem test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
rpc_client test: add timing calls to run_test 2019-12-10 17:12:03 +00:00
spdkcli test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
unit tcp: Cleanup nvme_tcp_pdu structure 2020-02-04 18:18:49 +00:00
vhost doc: replace all cloudfront refs with ci.spdk.io 2020-01-31 12:36:19 +00:00
vmd test: move report_test_completion into run_test 2020-01-14 07:49:08 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00