Signed-off-by: Blake Geno <blakegeno@gmail.com>
| ... | ... |
@@ -79,15 +79,6 @@ func cleanup(eng *engine.Engine, t *testing.T) error {
|
| 79 | 79 |
return nil |
| 80 | 80 |
} |
| 81 | 81 |
|
| 82 |
-func layerArchive(tarfile string) (io.Reader, error) {
|
|
| 83 |
- // FIXME: need to close f somewhere |
|
| 84 |
- f, err := os.Open(tarfile) |
|
| 85 |
- if err != nil {
|
|
| 86 |
- return nil, err |
|
| 87 |
- } |
|
| 88 |
- return f, nil |
|
| 89 |
-} |
|
| 90 |
- |
|
| 91 | 82 |
func init() {
|
| 92 | 83 |
// Always use the same driver (vfs) for all integration tests. |
| 93 | 84 |
// To test other drivers, we need a dedicated driver validation suite. |