From fc4c1998aacb91c287034c839df301767133e5e5 Mon Sep 17 00:00:00 2001 From: Jeremiah Orians Date: Sat, 6 Feb 2021 00:45:32 -0500 Subject: [PATCH] Remove test/common_knight/ files and switch knight-posix to M2libc --- test/common_knight/ELF-knight.hex2 | 26 --- test/common_knight/functions/access.c | 24 --- test/common_knight/functions/chdir.c | 28 --- test/common_knight/functions/exit.c | 25 --- test/common_knight/functions/file.c | 107 ---------- test/common_knight/functions/getchar.c | 22 -- test/common_knight/functions/getcwd.c | 44 ---- test/common_knight/functions/malloc.c | 25 --- test/common_knight/functions/putchar.c | 23 --- test/common_knight/functions/stat.c | 48 ----- test/common_knight/functions/uname.c | 31 --- test/common_knight/knight_defs.M1 | 266 ------------------------- test/common_knight/libc-core.M1 | 33 --- test/test.answers | 2 +- test/test0000/hello-knight-posix.sh | 7 +- test/test0001/hello-knight-posix.sh | 8 +- test/test0002/hello-knight-posix.sh | 8 +- test/test0003/hello-knight-posix.sh | 8 +- test/test0004/hello-knight-posix.sh | 8 +- test/test0005/hello-knight-posix.sh | 8 +- test/test0006/hello-knight-posix.sh | 9 +- test/test0007/hello-knight-posix.sh | 9 +- test/test0008/hello-knight-posix.sh | 8 +- test/test0009/hello-knight-posix.sh | 8 +- test/test0010/hello-knight-posix.sh | 8 +- test/test0011/hello-knight-posix.sh | 10 +- test/test0012/hello-knight-posix.sh | 10 +- test/test0013/hello-knight-posix.sh | 10 +- test/test0014/hello-knight-posix.sh | 30 ++- test/test0015/hello-knight-posix.sh | 18 +- test/test0016/hello-knight-posix.sh | 18 +- test/test0017/hello-knight-posix.sh | 10 +- test/test0018/hello-knight-posix.sh | 10 +- test/test0019/hello-knight-posix.sh | 19 +- test/test0020/hello-knight-posix.sh | 9 +- test/test0021/hello-knight-posix.sh | 9 +- test/test0022/hello-knight-posix.sh | 11 +- test/test0023/hello-knight-posix.sh | 15 +- test/test0024/hello-knight-posix.sh | 8 +- test/test0100/hello-knight-posix.sh | 31 ++- test/test0101/hello-knight-posix.sh | 36 +++- test/test0102/hello-knight-posix.sh | 35 +++- test/test0103/hello-knight-posix.sh | 17 +- test/test0106/hello-knight-posix.sh | 12 +- test/test1000/hello-knight-posix.sh | 57 +++++- 45 files changed, 403 insertions(+), 765 deletions(-) delete mode 100644 test/common_knight/ELF-knight.hex2 delete mode 100644 test/common_knight/functions/access.c delete mode 100644 test/common_knight/functions/chdir.c delete mode 100644 test/common_knight/functions/exit.c delete mode 100644 test/common_knight/functions/file.c delete mode 100644 test/common_knight/functions/getchar.c delete mode 100644 test/common_knight/functions/getcwd.c delete mode 100644 test/common_knight/functions/malloc.c delete mode 100644 test/common_knight/functions/putchar.c delete mode 100644 test/common_knight/functions/stat.c delete mode 100644 test/common_knight/functions/uname.c delete mode 100644 test/common_knight/knight_defs.M1 delete mode 100644 test/common_knight/libc-core.M1 diff --git a/test/common_knight/ELF-knight.hex2 b/test/common_knight/ELF-knight.hex2 deleted file mode 100644 index 5906a5a..0000000 --- a/test/common_knight/ELF-knight.hex2 +++ /dev/null @@ -1,26 +0,0 @@ -### Copyright (C) 2016 Jeremiah Orians -### Copyright (C) 2017 Jan Nieuwenhuizen -### This file is part of M2-Planet. -### -### M2-Planet is free software: you can redistribute it and/or modify -### it under the terms of the GNU General Public License as published by -### the Free Software Foundation, either version 3 of the License, or -### (at your option) any later version. -### -### M2-Planet is distributed in the hope that it will be useful, -### but WITHOUT ANY WARRANTY; without even the implied warranty of -### MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -### GNU General Public License for more details. -### -### You should have received a copy of the GNU General Public License -### along with M2-Planet. If not, see . - -### stage0's hex2 format -### !