chiark
/
gitweb
/
~ian
/
hippotat.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b1c145e4072c0c629b8f07553276c2ce8b0ce985
[hippotat.git]
/
test
/
t-basic
1
#!/bin/bash
2
# Copyright 2021 Ian Jackson and contributors to Hippotat
3
# SPDX-License-Identifier: GPL-3.0-or-later
4
# There is NO WARRANTY.
5
6
set -e
7
. "${0%/*}"/common
8
test-prep
9
10
start-server
11
start-client
12
13
in-ns client ping -c 10 192.0.2.1 >$tmp/ping
14
grep ' 0% packet loss' $tmp/ping