Add handle tests
[yaffs2.git] / direct / python / examples.py
index 6500653884570dde7b2795ecacb0d1f986ea441a..11e5b8b209c3cd006a569c2991ac511dc61e6dde 100644 (file)
@@ -66,6 +66,8 @@ yaffs_mount(root)
 
 yaffs_mkdir(root+"/dd",0666)
 
-yaffs_open(root+"/dd/111",66,0666)
+h = yaffs_open(root+"/dd/111",66,0666)
+yaffs_close(h)
 
 yaffs_ls(root)
+