summaryrefslogtreecommitdiffstats
path: root/mask_expected_results.sh
blob: f6791943a3f4ab91b0987de68080ccd23586965e (plain)
1
2
3
4
5
6
7
#!/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