You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
osmo-ttcn3-hacks/mask_expected_results.sh

8 lines
233 B

#!/bin/sh
# to prevent diffs due to timing and source file lines, mask some numbers
for target in */expected-results.xml; do
sed -i "s/time='[^']*'/time='MASKED'/g" "$target"
sed -i 's/ttcn:[0-9]\+/ttcn:MASKED/g' "$target"
done