Skip to content

Commit

Permalink
Fix multi line string in integration tests (#1096)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbosdo authored Sep 14, 2024
1 parent fb5ee4c commit 7d844fb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions libvirt/resource_libvirt_combustion_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ func TestAccLibvirtCombustion_Basic(t *testing.T) {
resource "libvirt_combustion" "combustion" {
name = "%s"
content = "#!/bin/bash
# combustion: network
echo 'root:$6$3aQC9rrDLHiTf1yR$NoKe9tko0kFIpu0rQ2y/FOO' | chpasswd -e
"
content = <<-EOT
#!/bin/bash
# combustion: network
echo 'root:$6$3aQC9rrDLHiTf1yR$NoKe9tko0kFIpu0rQ2y/FOO' | chpasswd -e
EOT
pool = "${libvirt_pool.%s.name}"
}
`, randomPoolName, randomPoolName, randomPoolPath, randomCombustionName, randomPoolName)
Expand Down

0 comments on commit 7d844fb

Please sign in to comment.