Get rid of three test utilities that I no longer need.
This commit is contained in:
parent
a9f256a745
commit
4dd50b1f6d
Notes:
sideshowbarker
2024-07-19 16:07:47 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/4dd50b1f6d9
6 changed files with 0 additions and 64 deletions
|
@ -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
|
||||
|
|
3
Userland/.gitignore
vendored
3
Userland/.gitignore
vendored
|
@ -16,9 +16,6 @@ tst
|
|||
mm
|
||||
kill
|
||||
tty
|
||||
ft
|
||||
ft2
|
||||
strsignal
|
||||
fgrep
|
||||
mkdir
|
||||
touch
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
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;
|
||||
}
|
|
@ -1,18 +0,0 @@
|
|||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
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;
|
||||
}
|
|
@ -1,11 +0,0 @@
|
|||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
int main(int, char**)
|
||||
{
|
||||
for (int i = 1; i < 32; ++i) {
|
||||
printf("%d: '%s'\n", i, strsignal(i));
|
||||
}
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Reference in a new issue