diff options
| author | salmonik <salmonik@tuta.io> | 2026-08-02 15:34:45 +0200 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-08-02 15:34:45 +0200 |
| commit | c6827451bce4cd3774a9e066a4a1bf51bb83592e (patch) | |
| tree | f43105d688e78efbcd2f9241330bead61739af2f /scripts/test-fault.sh | |
| parent | v0.5.5: crash reports go to a dedicated CRASHLOG USB stick (diff) | |
| download | rs-dos-c6827451bce4cd3774a9e066a4a1bf51bb83592e.tar.gz rs-dos-c6827451bce4cd3774a9e066a4a1bf51bb83592e.zip | |
v0.5.5: on-screen boot markers for disk/fs stage
Real hardware has no serial console, and the ahci/fat/fs boot
diagnostics were serial-only — a silent fs failure left the user with
no way to see where boot stopped. Add boot_marker lines for the AHCI
disk count, FAT volume count, and the VFS tree + fs self-test result.
Diffstat (limited to 'scripts/test-fault.sh')
| -rwxr-xr-x | scripts/test-fault.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/test-fault.sh b/scripts/test-fault.sh index 59f741f..74d83eb 100755 --- a/scripts/test-fault.sh +++ b/scripts/test-fault.sh | |||
| @@ -93,8 +93,8 @@ grep -aq "!!! halting" "$LOG" || fail "no halt message" | |||
| 93 | echo "==> 6/6 crash.log persisted on the CRASHLOG stick" | 93 | echo "==> 6/6 crash.log persisted on the CRASHLOG stick" |
| 94 | grep -aq "crashlog: vol .* (CRASHLOG)" "$LOG" || fail "crashlog did not target the CRASHLOG stick" | 94 | grep -aq "crashlog: vol .* (CRASHLOG)" "$LOG" || fail "crashlog did not target the CRASHLOG stick" |
| 95 | grep -aq "crashlog: wrote" "$LOG" || fail "crashlog write did not complete" | 95 | grep -aq "crashlog: wrote" "$LOG" || fail "crashlog write did not complete" |
| 96 | mdir -i "$CRASH_IMG" "::" 2>/dev/null | grep -aqi "crash" \ | 96 | mdir -i "$CRASH_IMG" "::" 2>/dev/null | grep -aqi "crash" || |
| 97 | || fail "crash.log missing on the CRASHLOG stick" | 97 | fail "crash.log missing on the CRASHLOG stick" |
| 98 | # The boot ESP must NOT receive the crash log. | 98 | # The boot ESP must NOT receive the crash log. |
| 99 | if [ -f "$ESP_DIR/crash.log" ]; then | 99 | if [ -f "$ESP_DIR/crash.log" ]; then |
| 100 | fail "crash.log landed on the boot ESP instead of the CRASHLOG stick" | 100 | fail "crash.log landed on the boot ESP instead of the CRASHLOG stick" |
