diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-10-05 13:31:53 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-10-05 13:33:14 -0700 |
commit | 15ae0717ba51649dd8042cd5ef0be3bc296b8a26 (patch) | |
tree | c26ea2b0ba15152e0746bfbb7c5c11a9a0027c20 /subx/052kernel_string_equal.subx | |
parent | 9f1d0ef3fb2044f7f9cdb51f72cc9822b023eea0 (diff) | |
download | mu-15ae0717ba51649dd8042cd5ef0be3bc296b8a26.tar.gz |
4664 - subx: reflect test failures in exit status
Diffstat (limited to 'subx/052kernel_string_equal.subx')
-rw-r--r-- | subx/052kernel_string_equal.subx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/052kernel_string_equal.subx b/subx/052kernel_string_equal.subx index e07d2157..21bd9a09 100644 --- a/subx/052kernel_string_equal.subx +++ b/subx/052kernel_string_equal.subx @@ -22,8 +22,8 @@ # main: (manual test if this is the last file loaded) e8/call run_tests/disp32 # 'run_tests' is a function created automatically by SubX. It calls all functions that start with 'test_'. - # exit(EAX) - 89/copy 3/mod/direct 3/rm32/EBX . . . 0/r32/EAX . . # copy EAX to EBX + # exit(Num_test_failures) + 8b/copy 0/mod/indirect 5/rm32/.disp32 . . 3/r32/EBX Num_test_failures/disp32 # copy *Num_test_failures to EBX b8/copy . . . . . . . 1/imm32 # copy to EAX cd/syscall 0x80/imm8 |