Commit Graph

34 Commits (7efe3cac3d5e728ee471bbccfd1043e06e4dcafe)

Author SHA1 Message Date
Megan Marsh b35acbd879 use statebag instead of SetSharedState for winRM password
8 years ago
DanHam b738f41efa
Remove tmp files created by provisioner/powershell tests
8 years ago
DanHam ccf687dac6
Fix tests
8 years ago
Josh Soref 24b4c36fc9 spelling: function
8 years ago
Megan Marsh f3a538db46 fix tests
8 years ago
Megan Marsh 3faf73b5f3 change backslashes to forward slashes in powershell provisioner; was breaking with cygwin
8 years ago
DanHam aaf7102b9a
Tests for escape of chars special to PowerShell in user supplied data
8 years ago
DanHam a7b118ed94
Fix tests post changes. Add test for upload func.
8 years ago
Megan Marsh addedbb680 Revert "Merge pull request #5515 from DanHam/dot-source-env-vars"
8 years ago
Megan Marsh 79fe900378 Revert "Merge pull request #5376 from DanHam/ps-escapes"
8 years ago
DanHam b67c64fd66 Tests for escape of chars special to PowerShell in user supplied data
8 years ago
DanHam 4b89fc1c00
Fix tests post changes. Add test for upload func.
8 years ago
DanHam fa5fd602aa Fix tests post changes
9 years ago
Megan Marsh b05c673a14 Update powershell provisioner test with new default
9 years ago
Megan Marsh 89b058604d update tests for pull 5272
9 years ago
Luke Farnell d9a5b69403 clean up ineffectual assignments
9 years ago
Matthew Hooker 81522dced0
move packer to hashicorp
9 years ago
DanHam c88fafdf38 provisioner/powershell: align, fix and compact env var test
9 years ago
DanHam 80ebcea5e1
Mirror cleaner test code back from windows-shell to powershell
9 years ago
DanHam be0196492f
Tests for env variables values starting with or containing an equals sign
9 years ago
Taliesin Sisson f38d787b0e Powershell uses UTF16Le for encodedCommand
9 years ago
Taliesin Sisson e36051d394 Pattern for infrastructure changed to quote filename and execute file with ampersand as everything is run in powershell now
9 years ago
Taliesin Sisson d61513bf77 Encode powershell using utf8
9 years ago
Taliesin Sisson 17597b48e1 Base64 encode powershell to avoid any necessary escaping
9 years ago
Taliesin Sisson 5d5809b27e Make hiding of progress backward compatible with old versions of powershell
9 years ago
Taliesin Sisson e8c2b49be8 Use correct quotation of variables
9 years ago
Taliesin Sisson 4b394c8563 Write output will put ouput from function, so we don't want to be getting line from output of function
9 years ago
Taliesin Sisson cd6213eb55 Seems like we do need to escape the double quote
9 years ago
Taliesin Sisson 15137310a7 Must escape string formatting for string fmt
9 years ago
Taliesin Sisson 5285a819dd Quoting of powershell commands and associated tests
9 years ago
Taliesin Sisson 3051ea6633 Quote powershell so that it does not try to interpret command to be run
9 years ago
Rickard von Essen f17bd30070 Revert "Removed escaped quotes in non-elevated powershell invocation"
10 years ago
Simon Guest 1b186f1613 Removed escaped quotes in non-elevated powershell invocation
10 years ago
Mitchell Hashimoto 040ff0706d provisioner/powershell
11 years ago