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