From 6d08bfc3e0b5fa542608f5a7439de7cfdc7e993d Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Sat, 24 Sep 2022 00:05:20 +0200 Subject: test/demo: Use relative paths to change directories when possible A cd to __STATEDIR__ results in a rather long command, that's not very readable. Jump between directories using .. and relative paths, once we're there. Signed-off-by: Stefano Brivio --- test/demo/pasta | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/demo/pasta') diff --git a/test/demo/pasta b/test/demo/pasta index 02a2ba2..11e4d3c 100644 --- a/test/demo/pasta +++ b/test/demo/pasta @@ -140,12 +140,12 @@ say can also take packet captures. sleep 3 passt exit sleep 2 -passtb ./pasta -p __STATEDIR__/demo_pasta.pcap +passtb ./pasta -p ../demo_pasta.pcap sleep 2 passt passt /sbin/dhclient -4 --no-pid sleep 2 -hostb tshark -r __STATEDIR__/demo_pasta.pcap +hostb tshark -r ../demo_pasta.pcap sleep 5 nl -- cgit v1.2.3