Skip to content

Commit 8714c98

Browse files
committed
move the makdir() to after the native_close()
1 parent ec75f2c commit 8714c98

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

unittest/os9commandtest.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@ void test_os9_command_format()
2525
ASSERT_EQUALS(0, ec);
2626
ASSERT_EQUALS(65000*256, size);
2727

28-
ec = _os9_makdir("test.dsk,/CMDS");
29-
ASSERT_EQUALS(0, ec);
30-
3128
ec = _native_close(nativepath);
3229
ASSERT_EQUALS(0, ec);
3330

31+
ec = _os9_makdir("test.dsk,/CMDS");
32+
ASSERT_EQUALS(0, ec);
3433
}
3534

3635
int main()

0 commit comments

Comments
 (0)