virtiofsd: fix typo in test code

fix typo in virtiofsd_test.go

Fixes: #712

Signed-off-by: zhanghj <zhanghj.lc@inspur.com>
This commit is contained in:
zhanghj 2020-09-14 05:35:10 -04:00
parent 6e328c0599
commit 2ce97ec680

View File

@ -35,7 +35,7 @@ func TestVirtiofsdStart(t *testing.T) {
socketDir, err := ioutil.TempDir("", "")
assert.NoError(err)
defer os.RemoveAll(sourcePath)
defer os.RemoveAll(socketDir)
socketPath := socketDir + "socket.s"