File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,13 @@ if [ "$UMF_TESTS_FSDAX_PATH" = "" ]; then
1414 exit 0
1515fi
1616
17+ if [ " $UMF_TESTS_FSDAX_PATH_2 " = " " ]; then
18+ echo " $0 : Test skipped, UMF_TESTS_FSDAX_PATH_2 is not set" ;
19+ exit 0
20+ fi
21+
1722FILE_NAME=" $UMF_TESTS_FSDAX_PATH "
23+ FILE_NAME_2=" $UMF_TESTS_FSDAX_PATH_2 "
1824
1925# port should be a number from the range <1024, 65535>
2026PORT=$(( 1024 + ( $$ % ( 65535 - 1024 )) ))
@@ -31,7 +37,7 @@ echo "Waiting 1 sec ..."
3137sleep 1
3238
3339echo " Starting ipc_file_prov_fsdax PRODUCER on port $PORT ..."
34- UMF_LOG=$UMF_LOG_VAL ./umf_test-ipc_file_prov_producer $PORT $FILE_NAME " FSDAX"
40+ UMF_LOG=$UMF_LOG_VAL ./umf_test-ipc_file_prov_producer $PORT $FILE_NAME_2 " FSDAX"
3541
3642# remove the SHM file
3743rm -f ${FILE_NAME}
You can’t perform that action at this time.
0 commit comments