mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Portability fixes for tests on MacOS.
This commit is contained in:
parent
a8f15616f2
commit
da5618b9ba
1 changed files with 5 additions and 0 deletions
5
testing/btest/Scripts/diff-remove-abspath
Executable file
5
testing/btest/Scripts/diff-remove-abspath
Executable file
|
@ -0,0 +1,5 @@
|
|||
#! /usr/bin/env bash
|
||||
#
|
||||
# Replace absolute paths with the basename.
|
||||
|
||||
sed 's#/\([^/]\{1,\}/\)\{1,\}\([^/]\{1,\}\)#<...>/\2#g'
|
Loading…
Add table
Add a link
Reference in a new issue