diff options
Diffstat (limited to '')
| -rwxr-xr-x | scripts/test-disk.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/test-disk.sh b/scripts/test-disk.sh index f7337ef..11a9b05 100755 --- a/scripts/test-disk.sh +++ b/scripts/test-disk.sh | |||
| @@ -99,14 +99,14 @@ VOL_UID="$(grep -a 'fat: mounted' "$LOG" | sed -n 's/.*at \/disk\/\([^ )]*\).*/\ | |||
| 99 | [ -n "$VOL_UID" ] || fail "no FAT32 volume was mounted (look for 'fat: mounted' in the log)" | 99 | [ -n "$VOL_UID" ] || fail "no FAT32 volume was mounted (look for 'fat: mounted' in the log)" |
| 100 | echo " mounted volume UID: $VOL_UID" | 100 | echo " mounted volume UID: $VOL_UID" |
| 101 | 101 | ||
| 102 | echo "==> 4/6 drive the shell (ls / mkdir / echo > / cat / poweroff)" | 102 | echo "==> 4/6 drive the shell (ls / mkdir / echo WRITING / cat / poweroff)" |
| 103 | # The filename is deliberately >13 chars so the FAT LFN path gets | 103 | # The filename is deliberately >13 chars so the FAT LFN path gets |
| 104 | # multi-entry entries (they're stored last-first on disk). | 104 | # multi-entry entries (they're stored last-first on disk). |
| 105 | TESTFILE="disk-test-$STAMP.txt" | 105 | TESTFILE="disk-test-$STAMP.txt" |
| 106 | python3 "$SCRIPT_DIR/sendkeys.py" --sock "$SOCK" \ | 106 | python3 "$SCRIPT_DIR/sendkeys.py" --sock "$SOCK" \ |
| 107 | "ls /disk" \ | 107 | "ls /disk" \ |
| 108 | "mkdir /disk/$VOL_UID/sub" \ | 108 | "mkdir /disk/$VOL_UID/sub" \ |
| 109 | "echo disk-test-$STAMP > /disk/$VOL_UID/sub/$TESTFILE" \ | 109 | "echo disk-test-$STAMP WRITING /disk/$VOL_UID/sub/$TESTFILE" \ |
| 110 | "cat /disk/$VOL_UID/sub/$TESTFILE" \ | 110 | "cat /disk/$VOL_UID/sub/$TESTFILE" \ |
| 111 | "poweroff" | 111 | "poweroff" |
| 112 | 112 | ||
