mirror of
https://github.com/containers/podman.git
synced 2025-12-08 06:39:05 +08:00
cli: podman --module use StringArray()
This option accepts a file path so we should allow commas in it. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
@@ -104,8 +104,8 @@ See 'podman create --help'" "--module must be specified before the command"
|
||||
|
||||
run_podman rm -f $cid
|
||||
|
||||
# Nonexistent module path
|
||||
nonesuch=${PODMAN_TMPDIR}/nonexistent
|
||||
# Nonexistent module path with comma
|
||||
nonesuch=${PODMAN_TMPDIR}/nonexistent,withcomma
|
||||
run_podman 1 --module=$nonesuch sdfsdfdsf
|
||||
is "$output" "Failed to obtain podman configuration: could not resolve module \"$nonesuch\": stat $nonesuch: no such file or directory" \
|
||||
"--module=ENOENT"
|
||||
|
||||
Reference in New Issue
Block a user