Remove test/dsched*. This doesn't build anymore after 3573cf7bf66147.
authorSascha Wildner <saw@online.de>
Mon, 15 Jan 2018 07:55:34 +0000 (08:55 +0100)
committerSascha Wildner <saw@online.de>
Mon, 15 Jan 2018 07:55:34 +0000 (08:55 +0100)
test/dsched/Makefile [deleted file]
test/dsched/dsched_stats.c [deleted file]
test/dsched_fq/Makefile [deleted file]
test/dsched_fq/fqstats.c [deleted file]
test/kvm/kvm_file/Makefile

diff --git a/test/dsched/Makefile b/test/dsched/Makefile
deleted file mode 100644 (file)
index 55a7cb7..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-PROG=  dschedstats
-SRCS=  dsched_stats.c
-NOMAN=
-
-.include <bsd.prog.mk>
diff --git a/test/dsched/dsched_stats.c b/test/dsched/dsched_stats.c
deleted file mode 100644 (file)
index 7a40a33..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/sysctl.h>
-
-#include <db.h>
-#include <err.h>
-#include <fcntl.h>
-#include <paths.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "../../sys/sys/dsched.h"
-
-
-int main(void)
-{
-       struct dsched_stats     dsched_stats;
-       size_t n = sizeof(struct dsched_stats);
-
-       if (sysctlbyname("dsched.stats", &dsched_stats, &n, NULL, 0) != 0)
-               err(1, "sysctlbyname");
-
-       printf( "Allocations\n"
-               "thread_ctx:\t%d\n"
-               "thread_io:\t%d\n"
-               "disk_ctx:\t%d\n"
-               "---------------------------------------------\n"
-               "Procs/Threads tracked\n"
-               "procs:\t\t%d\n"
-               "threads:\t%d\n"
-               "---------------------------------------------\n"
-               "Transactions\n"
-               "w/o thread_ctx:\t%d\n",
-
-               dsched_stats.tdctx_allocations,
-               dsched_stats.tdio_allocations,
-               dsched_stats.diskctx_allocations,
-
-               dsched_stats.nprocs,
-               dsched_stats.nthreads,
-
-               dsched_stats.no_tdctx
-               );
-
-
-       return 0;
-}
diff --git a/test/dsched_fq/Makefile b/test/dsched_fq/Makefile
deleted file mode 100644 (file)
index c93eb49..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-PROG=  fqstats
-NOMAN=
-
-.include <bsd.prog.mk>
diff --git a/test/dsched_fq/fqstats.c b/test/dsched_fq/fqstats.c
deleted file mode 100644 (file)
index 444eb72..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <sys/sysctl.h>
-
-#include <db.h>
-#include <err.h>
-#include <fcntl.h>
-#include <paths.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#include "../../sys/kern/dsched/fq/fq.h"
-
-
-int main(void)
-{
-       struct dsched_fq_stats  fq_stats;
-       size_t n = sizeof(struct dsched_fq_stats);
-
-       if (sysctlbyname("dsched.fq.stats", &fq_stats, &n, NULL, 0) != 0)
-               err(1, "sysctlbyname");
-
-       printf( "Processes\n"
-               "Rate limited:\t%d\n"
-               "---------------------------------------------\n"
-               "Transactions\n"
-               "Issued:\t\t%d\n"
-               "Completed:\t%d\n"
-               "Cancelled:\t%d\n",
-
-               fq_stats.procs_limited,
-
-               fq_stats.transactions,
-               fq_stats.transactions_completed,
-               fq_stats.cancelled
-               );
-
-
-       return 0;
-}
index 67d863b..4447add 100644 (file)
@@ -1,7 +1,6 @@
 PROG   = test_kvm_file
-SRCS   = test_kvm_file.c
 WARNS  = 6
-MAN    =
+NOMAN  =
 LDADD  = -lkvm
 
 .include <bsd.prog.mk>