Adding quotes around escapechar in ipmitool.tmpl
- Fixes: #1802 Signed-off-by: Shane Nehring <snehring@iastate.edu>
This commit is contained in:
committed by
Jonathon Anderson
parent
a0b741b066
commit
e152db228c
@@ -41,7 +41,7 @@ func Test_Ipmitool(t *testing.T) {
|
||||
Password: "calvin",
|
||||
},
|
||||
},
|
||||
cmdStr: `ipmitool -I lanplus -e ~ -p 687 -H 192.168.1.100 -U "root" -P "calvin" chassis power status`,
|
||||
cmdStr: `ipmitool -I lanplus -e "~" -p 687 -H 192.168.1.100 -U "root" -P "calvin" chassis power status`,
|
||||
},
|
||||
"nobmc PowerStatus full": {
|
||||
bmc: TemplateStruct{
|
||||
|
||||
Reference in New Issue
Block a user