packer-cn/common
Ali Rizvi-Santiago 15079a99dc Fixed common/config_test.go tests for DownloadableURL to avoid writing to disk on the windows platform. Also added tests for relative paths/uris.
common/config_test.go:
    Replaced instances of os.Mkdir and os.Create with tests that use
        the existing "common/test-fixtures" mechanism.
    Removed the runtime.GOOS test for the "FileExistsLocally" test,
        as the functionality should work regardless of the platform.
    Added some more comprehensive tests for the relative uri/pathing.
    Replaced the Windows Object Manager name test as the Object
        Manager's naming scheme is different from a UNC path.
    Modified the FilePaths tests to support the policy of windows absolute
        paths being prefixed with the `/` introduced with PR #5761.
2018-01-18 23:08:22 -06:00
..
json common/json: add Unmarshal with method with syntax errors 2013-08-09 16:50:24 -07:00
powershell Add support for differential disk 2017-11-24 12:44:53 +05:30
ssh code.google.com/p/go.crypto/ssh -> golang.org/x/crypto/ssh 2015-05-28 08:17:49 -07:00
test-fixtures Renamed any and all instances of the word "FloppyContents" to "FloppyDirectories". 2016-09-27 23:31:42 -05:00
uuid Simplifies the implementation of common/uuid 2013-10-23 23:05:02 +01:00
config.go Modified common/config.go to accommodate some of the new DownloadableURL policies made by the PR #5761 merge. 2018-01-18 22:43:08 -06:00
config_test.go Fixed common/config_test.go tests for DownloadableURL to avoid writing to disk on the windows platform. Also added tests for relative paths/uris. 2018-01-18 23:08:22 -06:00
download.go Split up DownloadableURL() into it's individual components: SupportedURL(), DownloadableURL(), and ValidatedURL(). Updated all instances of DownloadableURL() to point to ValidatedURL(). Reverted the tests that are based on un-supported protocols. 2018-01-16 13:37:32 -06:00
download_test.go Removed implementation of the ftp protocol and the usage of cheggaaa's progress-bar as suggested by @SwampDragons. Replaced some of the old smoke-tests that were based on the ftp-protocol non-existing with a "non-existent://" protocol that's guaranteed to not exist. 2018-01-16 13:37:31 -06:00
floppy_config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
floppy_config_test.go tests actually test the floppies 2016-07-27 21:59:21 +01:00
http_config.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
http_config_test.go Refactor http server config into common 2015-11-01 14:45:47 -08:00
iso_config.go Split up DownloadableURL() into it's individual components: SupportedURL(), DownloadableURL(), and ValidatedURL(). Updated all instances of DownloadableURL() to point to ValidatedURL(). Reverted the tests that are based on un-supported protocols. 2018-01-16 13:37:32 -06:00
iso_config_test.go iso_config: allow for subdirs in hash sum files 2017-11-13 09:28:43 +02:00
multistep_debug.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
multistep_runner.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
packer_config.go Add -on-error command line argument to allow preserving artifacts on builder errors 2016-09-16 12:15:00 +00:00
retry.go builder/virtualbox-ovf retry removing VM. 2017-10-25 10:27:33 -07:00
retry_test.go post-processor/vagrant-cloud: try upload once 2017-06-12 17:34:32 -07:00
step_create_floppy.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_create_floppy_test.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_download.go Removed implementation of the ftp protocol and the usage of cheggaaa's progress-bar as suggested by @SwampDragons. Replaced some of the old smoke-tests that were based on the ftp-protocol non-existing with a "non-existent://" protocol that's guaranteed to not exist. 2018-01-16 13:37:31 -06:00
step_download_test.go common: Add new StepDownload to DRY up downloads 2013-08-15 17:46:40 -07:00
step_http_server.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_provision.go move packer to hashicorp 2017-04-04 13:39:01 -07:00
step_provision_test.go rename builder/common to common since it is generally useful 2013-08-01 12:11:54 -07:00