Commit Diff


commit - 6842faafcd5ff2509d1c6e76d0b833f2dc420a46
commit + e41d2c2b9a245fd97e4a6e1d1936de112964dfe3
blob - 382139a46e99c9528b458d83d64e222316f8809d
blob + f35b4b10b72ba797360354489331a55ead1c9bb0
--- regress/walk-suite.9ps
+++ regress/walk-suite.9ps
@@ -29,6 +29,16 @@ testing "walk to a file" dir "./root" {
 	)
 }
 
+testing "can't walk from a file" dir "./root" {
+	mount(0, "/")
+
+	walk(0, 1, "dir", "a-file")
+	expect(Rwalk)
+
+	walk(1, 2, "subdir", "file")
+	expect-error()
+}
+
 testing "walk with invalid fid" dir "./root" {
 	mount(0, "/")
 	walk(1, 2)