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
14
14
exit 0
15
15
fi
16
16
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
+
17
22
FILE_NAME=" $UMF_TESTS_FSDAX_PATH "
23
+ FILE_NAME_2=" $UMF_TESTS_FSDAX_PATH_2 "
18
24
19
25
# port should be a number from the range <1024, 65535>
20
26
PORT=$(( 1024 + ( $$ % ( 65535 - 1024 )) ))
@@ -31,7 +37,7 @@ echo "Waiting 1 sec ..."
31
37
sleep 1
32
38
33
39
echo " 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"
35
41
36
42
# remove the SHM file
37
43
rm -f ${FILE_NAME}
You can’t perform that action at this time.
0 commit comments