Docker-DCO-1.1-Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com> (github: unclejack)
| ... | ... |
@@ -1257,6 +1257,7 @@ func TestRunWithVolumesIsRecursive(t *testing.T) {
|
| 1257 | 1257 |
if err := mount.Mount("tmpfs", tmpfsDir, "tmpfs", ""); err != nil {
|
| 1258 | 1258 |
t.Fatalf("failed to create a tmpfs mount at %s - %s", tmpfsDir, err)
|
| 1259 | 1259 |
} |
| 1260 |
+ defer mount.Unmount(tmpfsDir) |
|
| 1260 | 1261 |
|
| 1261 | 1262 |
f, err := ioutil.TempFile(tmpfsDir, "touch-me") |
| 1262 | 1263 |
if err != nil {
|