Commit 4bf24d7b authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Fix thinko.

parent 8aa866d4
......@@ -231,11 +231,10 @@ func TestMkdirRmdir(t *testing.T) {
CheckSuccess(err)
}
func TestLink(t *testing.T) {
func TestLinkCreate(t *testing.T) {
me := NewTestCase(t)
defer me.Cleanup()
t.Log("Testing hard links.")
err := ioutil.WriteFile(me.origFile, []byte(contents), 0700)
CheckSuccess(err)
err = os.Mkdir(me.origSubdir, 0777)
......@@ -248,7 +247,7 @@ func TestLink(t *testing.T) {
subfi, err := os.Lstat(mountSubfile)
CheckSuccess(err)
fi, err := os.Lstat(me.origFile)
fi, err := os.Lstat(me.mountFile)
CheckSuccess(err)
if fi.Nlink != 2 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment