# # \brief Test for the TCP terminal # \author Norman Feske # \date 2011-09-08 # # # TODO: Add support for Linux via user-level networking (using the # tun/tap proxy driver at os/src/drivers/nic/linux) # if {[have_spec linux]} { puts "Run script does not support Linux."; exit 0 } create_boot_directory import_from_depot [depot_user]/src/[base_src] \ [depot_user]/pkg/[drivers_nic_pkg] \ [depot_user]/src/init \ [depot_user]/src/libc \ [depot_user]/src/nic_router \ [depot_user]/src/vfs \ [depot_user]/src/vfs_lwip \ [depot_user]/src/vfs_pipe build { server/tcp_terminal test/terminal_echo } install_config { } build_boot_image { tcp_terminal test-terminal_echo } # qemu config append qemu_args " -nographic " append_qemu_nic_args "hostfwd=tcp::5555-:8888" run_genode_until forever # # Now, connect via 'telnet localhost 5555' # # vi: set ft=tcl :