mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 11:07:45 +00:00
Get rid of three test utilities that I no longer need.
This commit is contained in:
parent
a9f256a745
commit
4dd50b1f6d
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/mm mnt/bin/mm
|
||||||
cp -v ../Userland/kill mnt/bin/kill
|
cp -v ../Userland/kill mnt/bin/kill
|
||||||
cp -v ../Userland/tty mnt/bin/tty
|
cp -v ../Userland/tty mnt/bin/tty
|
||||||
cp -v ../Userland/strsignal mnt/bin/strsignal
|
|
||||||
cp -v ../Userland/mkdir mnt/bin/mkdir
|
cp -v ../Userland/mkdir mnt/bin/mkdir
|
||||||
cp -v ../Userland/touch mnt/bin/touch
|
cp -v ../Userland/touch mnt/bin/touch
|
||||||
cp -v ../Userland/sync mnt/bin/sync
|
cp -v ../Userland/sync mnt/bin/sync
|
||||||
|
|
3
Userland/.gitignore
vendored
3
Userland/.gitignore
vendored
|
@ -16,9 +16,6 @@ tst
|
||||||
mm
|
mm
|
||||||
kill
|
kill
|
||||||
tty
|
tty
|
||||||
ft
|
|
||||||
ft2
|
|
||||||
strsignal
|
|
||||||
fgrep
|
fgrep
|
||||||
mkdir
|
mkdir
|
||||||
touch
|
touch
|
||||||
|
|
|
@ -14,9 +14,6 @@ OBJS = \
|
||||||
tst.o \
|
tst.o \
|
||||||
mm.o \
|
mm.o \
|
||||||
kill.o \
|
kill.o \
|
||||||
ft.o \
|
|
||||||
ft2.o \
|
|
||||||
strsignal.o \
|
|
||||||
fgrep.o \
|
fgrep.o \
|
||||||
tty.o \
|
tty.o \
|
||||||
mkdir.o \
|
mkdir.o \
|
||||||
|
@ -38,9 +35,6 @@ APPS = \
|
||||||
tst \
|
tst \
|
||||||
mm \
|
mm \
|
||||||
kill \
|
kill \
|
||||||
ft \
|
|
||||||
ft2 \
|
|
||||||
strsignal \
|
|
||||||
fgrep \
|
fgrep \
|
||||||
tty \
|
tty \
|
||||||
mkdir \
|
mkdir \
|
||||||
|
@ -107,12 +101,6 @@ clear: clear.o
|
||||||
tst: tst.o
|
tst: tst.o
|
||||||
$(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a
|
$(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
|
mm: mm.o
|
||||||
$(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a
|
$(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a
|
||||||
|
|
||||||
|
@ -122,9 +110,6 @@ kill: kill.o
|
||||||
tty: tty.o
|
tty: tty.o
|
||||||
$(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a
|
$(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a
|
||||||
|
|
||||||
strsignal: strsignal.o
|
|
||||||
$(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a
|
|
||||||
|
|
||||||
mkdir: mkdir.o
|
mkdir: mkdir.o
|
||||||
$(LD) -o $@ $(LDFLAGS) $< ../LibC/LibC.a
|
$(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
Add a link
Reference in a new issue