File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,9 @@ verify_begin=".*run --rm"
23
23
run_ramalama -q --dryrun serve --name foobar ${model}
24
24
is " $output " " .*--name foobar .*" " dryrun correct with --name"
25
25
assert " $output " ! ~ " .*--network" " --network is not part of the output"
26
- assert " $output " ! ~ " .*--host 0.0.0.0" " verify host 0.0.0.0 is not added when run within container"
26
+ # Extract container args (everything before the image name) and verify --host is not there
27
+ container_args=$( echo " $output " | sed ' s/quay\.io\/ramalama\/ramalama.*//' )
28
+ assert " $container_args " ! ~ " .*--host" " verify --host is not added to container arguments"
27
29
is " $output " " .*${model} " " verify model name"
28
30
assert " $output " ! ~ " .*--seed" " assert seed does not show by default"
29
31
You can’t perform that action at this time.
0 commit comments