Enable long filename configuration and provide read-only DOS compatibility export

This commit is contained in:
2026-11-28 10:25:40 +00:00
parent ae647ce99a
commit 0dbd5c34bf
16 changed files with 182 additions and 14 deletions

View File

@@ -15,6 +15,14 @@ const fs=require('fs'),path=require('path'),assert=require('assert');
else {const file=path.join(__dirname,'../websetup',u==='/'?'index.html':u.slice(1));return route.fulfill({body:fs.readFileSync(file),contentType:u.endsWith('.js')?'text/javascript':u.endsWith('.css')?'text/css':'text/html'});}
return route.fulfill({json:body});});
await page.goto('http://127.0.0.1:18889/');
await page.waitForFunction(()=>document.querySelector('#configPath').textContent==='/test');
await page.evaluate(()=>show(2));
await page.locator('#g1').fill('SYS /srv/sys kt 711 600 # keep rights');
await page.locator('#g6').fill('0 0x1');
await page.locator('#enableLFN').click();
assert.equal(await page.locator('#g1').inputValue(),'SYS /srv/sys tiO 711 600 # keep rights');
assert.equal(await page.locator('#g6').inputValue(),'2 0x1');
await page.evaluate(()=>{mark(false);show(0)});
await page.locator('#gatewayOpen').click();await page.locator('#gwWinClients').click();
await page.waitForFunction(()=>document.querySelector('#driverStatus').textContent.includes('Noch keine'));
assert.equal(await page.locator('a[href^="/drivers/"]:visible').count(),0);