Rodrigo Arias
df0e7b2bd4
The test ensures that the generated documentation of emulation events is kept up to date. To locate the events.md file, the source root path is now exported to tests in OVNI_SOURCE_DIR. The "Built on ..." message with the date of the build is removed as otherwise it will always make the comparison fail.
9 lines
173 B
Bash
9 lines
173 B
Bash
docs="$OVNI_SOURCE_DIR/doc/user/emulation/events.md"
|
|
|
|
(
|
|
cat "$docs" | grep -v '^Built on' > old.md
|
|
ovnievents | grep -v '^Built on' > new.md
|
|
|
|
diff -up old.md new.md
|
|
)
|