From 4dd50b1f6d921db833e0ba6ea97cf3a526077bce Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Fri, 21 Dec 2018 02:22:21 +0100 Subject: [PATCH] Get rid of three test utilities that I no longer need. --- Kernel/sync.sh | 1 - Userland/.gitignore | 3 --- Userland/Makefile | 15 --------------- Userland/ft.cpp | 16 ---------------- Userland/ft2.cpp | 18 ------------------ Userland/strsignal.cpp | 11 ----------- 6 files changed, 64 deletions(-) delete mode 100644 Userland/ft.cpp delete mode 100644 Userland/ft2.cpp delete mode 100644 Userland/strsignal.cpp diff --git a/Kernel/sync.sh b/Kernel/sync.sh index d2592c2cc0..5e12dfe948 100755 --- a/Kernel/sync.sh +++ b/Kernel/sync.sh @@ -26,7 +26,6 @@ cp -v ../Userland/tst mnt/bin/tst cp -v ../Userland/mm mnt/bin/mm cp -v ../Userland/kill mnt/bin/kill cp -v ../Userland/tty mnt/bin/tty -cp -v ../Userland/strsignal mnt/bin/strsignal cp -v ../Userland/mkdir mnt/bin/mkdir cp -v ../Userland/touch mnt/bin/touch cp -v ../Userland/sync mnt/bin/sync diff --git a/Userland/.gitignore b/Userland/.gitignore index 27f4a6276a..a8c5bb5841 100644 --- a/Userland/.gitignore +++ b/Userland/.gitignore @@ -16,9 +16,6 @@ tst mm kill tty -ft -ft2 -strsignal fgrep mkdir touch diff --git a/Userland/Makefile b/Userland/Makefile index de65d69b99..a51834bd8b 100644 --- a/Userland/Makefile +++ b/Userland/Makefile @@ -14,9 +14,6 @@ OBJS = \ tst.o \ mm.o \ kill.o \ - ft.o \ - ft2.o \ - strsignal.o \ fgrep.o \ tty.o \ mkdir.o \ @@ -38,9 +35,6 @@ APPS = \ tst \ mm \ kill \ - ft \ - ft2 \ - strsignal \ fgrep \ tty \ mkdir \ @@ -107,12 +101,6 @@ clear: clear.o tst: tst.o $(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a -ft: ft.o - $(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a - -ft2: ft2.o - $(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a - mm: mm.o $(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a @@ -122,9 +110,6 @@ kill: kill.o tty: tty.o $(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a -strsignal: strsignal.o - $(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a - mkdir: mkdir.o $(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a diff --git a/Userland/ft.cpp b/Userland/ft.cpp deleted file mode 100644 index 7bfdf5c41f..0000000000 --- a/Userland/ft.cpp +++ /dev/null @@ -1,16 +0,0 @@ -#include -#include - -int main(int argc, char** argv) -{ - (void) argc; - (void) argv; - printf("Testing fork()...\n"); - pid_t pid = fork(); - if (!pid) { - printf("child, pid=%d\n", getpid()); - } else { - printf("parent, child pid=%d\n", pid); - } - return 0; -} diff --git a/Userland/ft2.cpp b/Userland/ft2.cpp deleted file mode 100644 index dba8f8f73a..0000000000 --- a/Userland/ft2.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include -#include - -int main(int argc, char** argv) -{ - (void) argc; - (void) argv; - printf("Testing fork()...\n"); - pid_t pid = fork(); - if (!pid) { - printf("child, pid=%d\n", getpid()); - for (;;); - } else { - printf("parent, child pid=%d\n", pid); - for (;;); - } - return 0; -} diff --git a/Userland/strsignal.cpp b/Userland/strsignal.cpp deleted file mode 100644 index 1adbafe4b2..0000000000 --- a/Userland/strsignal.cpp +++ /dev/null @@ -1,11 +0,0 @@ -#include -#include -#include - -int main(int, char**) -{ - for (int i = 1; i < 32; ++i) { - printf("%d: '%s'\n", i, strsignal(i)); - } - return 0; -}