]> git.ipfire.org Git - thirdparty/strongswan.git/commit
testing: Improve replacing IP addresses in test files
authorTobias Brunner <tobias@strongswan.org>
Mon, 2 Dec 2024 18:07:51 +0000 (19:07 +0100)
committerTobias Brunner <tobias@strongswan.org>
Tue, 3 Dec 2024 07:43:45 +0000 (08:43 +0100)
commit3615e907f5b8c35b3a68320b3e6bf1aa47ff09d2
tree78216c7e90c3b551ef8eae6ec98d5bc7fb74db37
parent1c053bc3f053c0cf1353ffce75d5d87de4cf664d
testing: Improve replacing IP addresses in test files

There are a lot of files without patterns and running them all through
sed is quite slow.  Using grep first makes this quicker (about 0.5s per
test).  Ignoring PEM files is also helpful.
testing/scripts/function.sh