chiark
/
gitweb
/
~ian
/
hippotat.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
old-python: Delete python code
[hippotat.git]
/
test
/
t-basic
1
#!/bin/bash
2
# Copyright 2021-2022 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 -i 0.1 -c 10 192.0.2.1 >$tmp/ping
14
grep ' 0% packet loss' $tmp/ping