Commit fc04b57
committed
doc: require --vfs-load in a worker's execArgv
The worker paragraph for --vfs-load said only that a worker created with
its own execArgv "has to be given --vfs-load again", which reads as a
remark rather than as the requirement it is: such a worker inherits none
of the parent's options, so it does not mount the source at all, and a
script in the mount cannot be its entry point.
Say that a worker given its own execArgv must carry the same --vfs-load
to run a script from the mount, and that a worker whose script comes
from elsewhere needs nothing added. Cover the requirement with a test:
the same worker that runs with the flag fails to load without it.
Signed-off-by: Philipp Dunkel <pip@pipobscure.com>1 parent 0abd2c8 commit fc04b57
3 files changed
Lines changed: 42 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3822 | 3822 | | |
3823 | 3823 | | |
3824 | 3824 | | |
3825 | | - | |
3826 | | - | |
3827 | | - | |
3828 | | - | |
| 3825 | + | |
| 3826 | + | |
| 3827 | + | |
| 3828 | + | |
| 3829 | + | |
| 3830 | + | |
| 3831 | + | |
| 3832 | + | |
| 3833 | + | |
| 3834 | + | |
3829 | 3835 | | |
3830 | 3836 | | |
3831 | 3837 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1913 | 1913 | | |
1914 | 1914 | | |
1915 | 1915 | | |
1916 | | - | |
1917 | | - | |
1918 | | - | |
1919 | | - | |
| 1916 | + | |
| 1917 | + | |
| 1918 | + | |
| 1919 | + | |
| 1920 | + | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
1920 | 1925 | | |
1921 | 1926 | | |
1922 | 1927 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
230 | 253 | | |
231 | 254 | | |
232 | 255 | | |
| |||
0 commit comments