storage/tests
Nalin Dahyabhai e5ea934de0 layerStore.Diff(): don't use an unnecessary buffer
Don't ReadAll() from a Reader to create a buffer and then create another
Reader to read from that buffer.

Don't close a file and a decompressor that we're using to read the
file's contents when we we may still need to read from them after the
current function returns.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
2021-12-13 13:14:11 -05:00
..
tools Vendor in opencontainers/runc v1.0.0 2021-06-22 08:41:17 -04:00
abs.bats abs.bats: don't forget to shut things down after the test 2019-02-26 14:19:15 -05:00
apply-diff.bats Add some integration tests 2017-10-04 15:14:57 -04:00
apply-junk.bats layerStore.Diff(): don't use an unnecessary buffer 2021-12-13 13:14:11 -05:00
bigdata.bats tests: test layer bigdata 2021-02-02 11:39:04 +01:00
changes.bats Add some integration tests 2017-10-04 15:14:57 -04:00
cleanup-layer.bats layerStore.Load(): don't try to lock the mounts list on cleanup 2019-09-12 11:17:54 -04:00
container-dirs.bats Add some integration tests 2017-10-04 15:14:57 -04:00
container.bats Add some integration tests 2017-10-04 15:14:57 -04:00
create-container.bats tests: test mount/unmount volatile container 2021-03-01 21:11:41 +01:00
create-image.bats tests: check that we update last-writers when changing things 2019-05-08 14:40:49 -04:00
create-layer.bats tests: check that we update last-writers when changing things 2019-05-08 14:40:49 -04:00
delete-container.bats Add some integration tests 2017-10-04 15:14:57 -04:00
delete-image.bats Add some integration tests 2017-10-04 15:14:57 -04:00
delete-layer.bats store: support mapped layers deletion 2020-08-05 13:33:43 +02:00
delete.bats Add some integration tests 2017-10-04 15:14:57 -04:00
diff.bats Add some integration tests 2017-10-04 15:14:57 -04:00
diffsize.bats Add some integration tests 2017-10-04 15:14:57 -04:00
helpers.bash Use `bash` binary from env instead of /bin/bash for scripts 2020-08-17 11:23:44 +02:00
idmaps.bats store.DeleteImage: correctly account for mapped layers 2021-11-19 10:51:31 -05:00
image-by-digest.bats image-by-digest.bats: print output 2019-02-06 10:04:37 -05:00
image.bats ImageSize: don't get tripped up by images with no layers 2019-09-25 10:27:01 -04:00
import-layer.bats Add some integration tests 2017-10-04 15:14:57 -04:00
layers.bats Add integration tests for images with a lot of layers 2019-12-10 15:47:14 +01:00
manifests.bats Teach images to hold multiple manifests 2019-02-07 10:27:36 -05:00
metadata.bats Add some integration tests 2017-10-04 15:14:57 -04:00
mount-layer.bats Allow the passing in and retrieval of mount options 2018-11-19 19:14:21 -05:00
names.bats Add some integration tests 2017-10-04 15:14:57 -04:00
overlay-recreate.bats overlay.recreateSymlinks: handle missing "link" files, add a test 2021-03-23 09:45:12 -04:00
status.bats Add some integration tests 2017-10-04 15:14:57 -04:00
stores.bats Allow users to tag images in read/only image stores 2021-04-27 16:40:10 -04:00
test_drivers.bash Use `bash` binary from env instead of /bin/bash for scripts 2020-08-17 11:23:44 +02:00
test_runner.bash Execute tests serially 2020-09-17 13:13:49 -04:00