These tests make sure that sadf can convert a binary data file with an
old format to the up-to-date format, and also that sar can read old
datafiles (which may have been converted or not).
Signed-off-by: Sebastien GODARD <sysstat@users.noreply.github.com>
core
TAGS
nls/*.gmo
+tests/*.tmp
# Phony targets
.PHONY: clean distclean install install_base install_all uninstall \
- uninstall_base uninstall_all dist bdist xdist gitdist squeeze
+ uninstall_base uninstall_all dist bdist xdist gitdist squeeze test
install_man: man/sadc.8 man/sar.1 man/sadf.1 man/sa1.8 man/sa2.8 man/sysstat.5
ifeq ($(INSTALL_DOC),y)
@$(foreach x, $(TESTLIST), $(MAKE) X=$x unit;)
clean:
- rm -f sadc sar sadf iostat tapestat mpstat pidstat cifsiostat *.o *.a core TAGS
+ rm -f sadc sar sadf iostat tapestat mpstat pidstat cifsiostat *.o *.a core TAGS tests/*.tmp
find nls -name "*.gmo" -exec rm -f {} \;
almost-distclean: clean nls/sysstat.pot
--- /dev/null
+./sar -C -A -f tests/data-10.3.1 >/dev/null
--- /dev/null
+./sadf -c tests/data-9.1.6 > tests/data-9.1.6.tmp
--- /dev/null
+./sar -C -A -f tests/data-9.1.6.tmp >/dev/null
--- /dev/null
+./sadf -c tests/data-10.3.1 > tests/data-10.3.1.tmp
--- /dev/null
+./sar -C -A -f tests/data-10.3.1.tmp >/dev/null