mirror of
https://github.com/docker/docs.git
synced 2026-04-12 06:19:22 +07:00
This removes `bash` dependency from save/load integration tests. It used to call `/bin/bash -c 'c:\...\docker.exe'` which is not valid. Also removed usage of tempdirs and temp files for saving/loading repos. All are now done using in-memory pipes and buffers. Created `runCommandPipelineWithOutput` helper to replace the `/bin/bash -c 'a | b | c'` using pipes and returning output from last command in the pipeline. This makes the code even shorter and readable. Signed-off-by: Ahmet Alp Balkan <ahmetalpbalkan@gmail.com>
13 KiB
13 KiB