Gitiles
Code Review
Sign In
gerrit.osmocom.org
/
osmo-ttcn3-hacks
/
a47a8c60eee3c224ea680207c0ef2eb6e718f7cf
/
.
/
mask_expected_results.sh
blob: f6791943a3f4ab91b0987de68080ccd23586965e [
file
] [
log
] [
blame
]
#!/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