mirror of
https://github.com/offen/docker-volume-backup.git
synced 2026-05-01 04:35:35 +02:00
Lines from conf files that are comments should not be passed to shell.Expand (#374)
This commit is contained in:
@@ -49,6 +49,15 @@ func TestSource(t *testing.T) {
|
||||
"QUX": "yyy",
|
||||
},
|
||||
},
|
||||
{
|
||||
"comments",
|
||||
"testdata/comments.env",
|
||||
false,
|
||||
map[string]string{
|
||||
"BAR": "xxx",
|
||||
"BAZ": "yyy",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
os.Setenv("QUX", "yyy")
|
||||
|
||||
Reference in New Issue
Block a user