diff --git a/autotest.sh b/autotest.sh index 0eb1948b5..fb0b7fb43 100755 --- a/autotest.sh +++ b/autotest.sh @@ -212,6 +212,8 @@ if [ $SPDK_RUN_FUNCTIONAL_TEST -eq 1 ]; then run_test "rocksdb" ./test/blobfs/rocksdb/rocksdb.sh run_test "blobstore" ./test/blobstore/blobstore.sh run_test "blobfs" ./test/blobfs/blobfs.sh + run_test "hello_blob" ./examples/blob/hello_world/hello_blob \ + examples/blob/hello_world/hello_blob.conf fi if [ $SPDK_TEST_NVMF -eq 1 ]; then diff --git a/examples/blob/hello_world/hello_blob.c b/examples/blob/hello_world/hello_blob.c index c4f7f56d7..2557336f8 100644 --- a/examples/blob/hello_world/hello_blob.c +++ b/examples/blob/hello_world/hello_blob.c @@ -459,7 +459,7 @@ main(int argc, char **argv) * specify a name for the app. */ opts.name = "hello_blob"; - opts.config_file = "hello_blob.conf"; + opts.config_file = argv[1]; /*