Commit fe62613
committed
Add test to verify mount() correctly handles files (addresses #503)
This test confirms that the mount() method properly creates a file node
(not a directory) when mounting a file. The issue described in #503
appears to have been resolved in PR #2338 when file mounting support
was added to NODEFS.
The test explicitly checks:
- That the mount point doesn't exist before mounting
- That after mounting a file, isFile() returns true
- That after mounting a file, isDir() returns false
This ensures the behavior described in issue #503 is working correctly.1 parent 766bf59 commit fe62613
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
141 | 156 | | |
142 | 157 | | |
143 | 158 | | |
| |||
0 commit comments