Repository navigation
Add an opt-in engine test run for one disposable USB drive - #29
Merged
Merged
Conversation
The elevated engine and worker-pipe tests refused everything but virtual disks. They now also accept a removable USB drive whose exact serial is named in RUFUST_TEST_USB_SERIAL, and scripts/windows/usb-tests.ps1 checks the disk number, bus, and serial, runs them, and leaves the stick as FAT32. Not yet run on physical media. Co-Authored-By: Claude <noreply@anthropic.com>
scripts/windows/usb-tests.ps1 passed on a 16 GB Kingston DataTraveler 101 G2 under Windows 11, with the shared engine loops merged in locally. Co-Authored-By: Claude <noreply@anthropic.com>
NitroDiesel
force-pushed
the
physical-usb-test
branch
from
November 14, 2026 05:40
bd8965d to
465b39d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Windows engine has only been tested on virtual disks, and the tests refused anything else, so there was no repeatable way to run them on a real USB stick.
The elevated engine tests and the worker-pipe tests now also accept a removable USB drive whose exact serial is named in
RUFUST_TEST_USB_SERIAL.scripts\windows\usb-tests.ps1 -DiskNumber N -Serial Schecks the disk number, bus type and serial, runs the tests (file system providers, raw/gzip/VHDX image writes with read-back, Windows installer media, pipe format and cancellation), and leaves the stick as one FAT32 volume. Virtual disks behave as before.It builds and the guard was checked against discovery (the Kingston's serial matches what Windows reports), but the script has not been run on physical media yet: the drive was unplugged. The smoke-test gate in
docs/WINDOWS.mdstays open.🤖 Generated with Claude Code