diff --git a/repos/gems/recipes/pkg/test-pipe/README b/repos/gems/recipes/pkg/test-pipe/README deleted file mode 100644 index 24a7ee1e8..000000000 --- a/repos/gems/recipes/pkg/test-pipe/README +++ /dev/null @@ -1 +0,0 @@ -Test for the pipe utility. diff --git a/repos/gems/recipes/pkg/test-pipe/archives b/repos/gems/recipes/pkg/test-pipe/archives deleted file mode 100644 index ef940989e..000000000 --- a/repos/gems/recipes/pkg/test-pipe/archives +++ /dev/null @@ -1,5 +0,0 @@ -_/src/init -_/src/pipe -_/src/libc -_/src/posix -_/src/vfs diff --git a/repos/gems/recipes/pkg/test-pipe/hash b/repos/gems/recipes/pkg/test-pipe/hash deleted file mode 100644 index b7b0e3ec6..000000000 --- a/repos/gems/recipes/pkg/test-pipe/hash +++ /dev/null @@ -1 +0,0 @@ -2020-04-23 8aee92222c462a0b9e4099a22e77adb0e6f82eb0 diff --git a/repos/gems/recipes/pkg/test-pipe/runtime b/repos/gems/recipes/pkg/test-pipe/runtime deleted file mode 100644 index ca5c4d8d0..000000000 --- a/repos/gems/recipes/pkg/test-pipe/runtime +++ /dev/null @@ -1,43 +0,0 @@ - - - - - child "pipe" exited with exit value 0 - Error: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/repos/gems/recipes/src/pipe/content.mk b/repos/gems/recipes/src/pipe/content.mk deleted file mode 100644 index c888567be..000000000 --- a/repos/gems/recipes/src/pipe/content.mk +++ /dev/null @@ -1,2 +0,0 @@ -SRC_DIR = src/app/pipe -include $(GENODE_DIR)/repos/base/recipes/src/content.inc diff --git a/repos/gems/recipes/src/pipe/hash b/repos/gems/recipes/src/pipe/hash deleted file mode 100644 index fd064e8cb..000000000 --- a/repos/gems/recipes/src/pipe/hash +++ /dev/null @@ -1 +0,0 @@ -2020-04-23 aeef8c953c13f9cfb4d01b6e7d74c18d50e824a0 diff --git a/repos/gems/recipes/src/pipe/used_apis b/repos/gems/recipes/src/pipe/used_apis deleted file mode 100644 index 2115aa2d6..000000000 --- a/repos/gems/recipes/src/pipe/used_apis +++ /dev/null @@ -1,3 +0,0 @@ -base -libc -posix diff --git a/repos/gems/run/depot_autopilot.run b/repos/gems/run/depot_autopilot.run index 09551e9fa..9c1c0c8db 100644 --- a/repos/gems/run/depot_autopilot.run +++ b/repos/gems/run/depot_autopilot.run @@ -694,7 +694,6 @@ set default_test_pkgs { test-nic_loopback test-part_block_gpt test-part_block_mbr - test-pipe test-pthread test-ram_fs_chunk test-read_only_rom diff --git a/repos/gems/src/app/pipe/README b/repos/gems/src/app/pipe/README deleted file mode 100644 index 7bd766efc..000000000 --- a/repos/gems/src/app/pipe/README +++ /dev/null @@ -1,15 +0,0 @@ -The pipe utility is for piping between files using the -semantics of POSIX stdio. - -An example of piping clock jitter to a terminal session: - -! -! -! -! -! -! -! -! -! -! diff --git a/repos/gems/src/app/pipe/main.cc b/repos/gems/src/app/pipe/main.cc deleted file mode 100644 index 30db196ef..000000000 --- a/repos/gems/src/app/pipe/main.cc +++ /dev/null @@ -1,59 +0,0 @@ -/* - * \brief Standalone POSIX pipe - * \author Emery Hemingway - * \date 2018-03-06 - */ - -/* - * Copyright (C) 2018 Genode Labs GmbH - * - * This file is part of the Genode OS framework, which is distributed - * under the terms of the GNU Affero General Public License version 3. - */ - -/* Genode includes */ -#include - -/* Libc includes */ -#include -#include -#include - -int main() -{ - enum { SIXTEEN_K = 1 << 14 }; - static char buf[SIXTEEN_K]; - - Genode::uint64_t total = 0; - - while (true) { - - auto const nr = fread(buf, 1, sizeof(buf), stdin); - if (nr == 0 && feof(stdin)) - break; - - if (nr < 1 || nr > sizeof(buf)) { - int res = errno; - Genode::error((char const *)strerror(res)); - return res; - } - - auto remain = nr; - auto off = 0; - while (remain > 0) { - auto const nw = fwrite(buf+off, 1, remain, stdout); - if (nw < 1 || nw > remain) { - int res = errno; - Genode::error((char const *)strerror(res)); - return res; - } - - remain -= nw; - off += nw; - total += nw; - } - } - - Genode::log("piped ", total, " bytes"); - return 0; -}; diff --git a/repos/gems/src/app/pipe/target.mk b/repos/gems/src/app/pipe/target.mk deleted file mode 100644 index 8d6692932..000000000 --- a/repos/gems/src/app/pipe/target.mk +++ /dev/null @@ -1,3 +0,0 @@ -TARGET = pipe -SRC_CC = main.cc -LIBS = base libc posix