From 562598c9de06dbd74531c736c4cd6aeabd1abe08 Mon Sep 17 00:00:00 2001 From: Tomasz Zawadzki Date: Tue, 13 Oct 2020 04:56:58 -0400 Subject: [PATCH] test/vhost: remove test for incorrect legacy config Legacy configuration is being removed, no need to test it. Signed-off-by: Tomasz Zawadzki Change-Id: I38eb9f5b77e0457516a03b30d33dc5a11ef35d1b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4617 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins Reviewed-by: Jim Harris Reviewed-by: Shuhei Matsumoto Reviewed-by: Paul Luse Reviewed-by: Aleksey Marchuk --- test/vhost/other/invalid.config | 18 ------------------ test/vhost/other/negative.sh | 5 ----- 2 files changed, 23 deletions(-) delete mode 100644 test/vhost/other/invalid.config diff --git a/test/vhost/other/invalid.config b/test/vhost/other/invalid.config deleted file mode 100644 index 58b703068..000000000 --- a/test/vhost/other/invalid.config +++ /dev/null @@ -1,18 +0,0 @@ -# SPDK vhost configuration file -# -# Please write all parameters using ASCII. -# The parameter must be quoted if it includes whitespace. - -# Configuration syntax: -# Leading whitespace is ignored. -# Lines starting with '#' are comments. -# Lines ending with '\' are concatenated with the next line. -# Bracketed ([]) names define sections - -[Global] - # Instance ID for multi-process support - # Default: 0 - #InstanceID 0 - -[Null] - Dev null0 512 513 diff --git a/test/vhost/other/negative.sh b/test/vhost/other/negative.sh index 81461c26f..ab7fa9d14 100755 --- a/test/vhost/other/negative.sh +++ b/test/vhost/other/negative.sh @@ -48,11 +48,6 @@ if "${VHOST_APP[@]}" -c /path/to/non_existing_file/conf -f "$VHOST_DIR/vhost/vho fi rm -f $VHOST_DIR/vhost/vhost.pid -# Testing vhost start with invalid config. Vhost will exit with error as bdev module init failed -if "${VHOST_APP[@]}" -c $testdir/invalid.config; then - fail "vhost started when specifying invalid config file" -fi - # Expecting vhost to fail if an incorrect argument is given if "${VHOST_APP[@]}" -x -h; then fail "vhost started with invalid -x command line option"