Gitiles
Code Review
Sign In
gerrit.osmocom.org
/
osmo-ttcn3-hacks
/
a616ec92603f4b34210b39ce8574c4b6259b9508
/
.
/
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