From: Prarit Bhargava on gitlab.com Merge Request: https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1878
One of the self-tests, 1005-dist-dump-variables.bats, runs a comparison against a known good specfile and compares it to a spec file generated against the latest tree. This test currently compares the entire specfile. As a consequence if anyone changes anything in the specfile the test data needs to be regenerated, even if the change does not involve modifications of the Makefile variables.
Modify the output to only look at the results of the Makefile variables that are passed into the specfile, and update the redhat/self-test dataset.
Signed-off-by: Prarit Bhargava prarit@redhat.com
--- redhat/self-test/data/centos-2585cf9dfaad.el7.spec | 3037 ------------------- redhat/self-test/data/centos-2585cf9dfaad.fc25.spec | 3037 ------------------- redhat/self-test/data/centos-78e36f3b0dae.el7.spec | 3036 ------------------ redhat/self-test/data/centos-78e36f3b0dae.fc25.spec | 3036 ------------------ redhat/self-test/data/centos-df0cc57e057f.el7.spec | 3037 ------------------- redhat/self-test/data/centos-df0cc57e057f.fc25.spec | 3037 ------------------- redhat/self-test/data/centos-fce15c45d3fb.el7.spec | 3036 ------------------ redhat/self-test/data/centos-fce15c45d3fb.fc25.spec | 3036 ------------------ redhat/self-test/data/create-data.sh | 2 +- redhat/self-test/data/fedora-2585cf9dfaad.el7.spec | 3037 ------------------- redhat/self-test/data/fedora-2585cf9dfaad.fc25.spec | 3037 ------------------- redhat/self-test/data/fedora-78e36f3b0dae.el7.spec | 3036 ------------------ redhat/self-test/data/fedora-78e36f3b0dae.fc25.spec | 3036 ------------------ redhat/self-test/data/fedora-df0cc57e057f.el7.spec | 3037 ------------------- redhat/self-test/data/fedora-df0cc57e057f.fc25.spec | 3037 ------------------- redhat/self-test/data/fedora-fce15c45d3fb.el7.spec | 3036 ------------------ redhat/self-test/data/fedora-fce15c45d3fb.fc25.spec | 3036 ------------------ redhat/self-test/data/rhel-2585cf9dfaad.el7.spec | 3037 ------------------- redhat/self-test/data/rhel-2585cf9dfaad.fc25.spec | 3037 ------------------- redhat/self-test/data/rhel-78e36f3b0dae.el7.spec | 3036 ------------------ redhat/self-test/data/rhel-78e36f3b0dae.fc25.spec | 3036 ------------------ redhat/self-test/data/rhel-df0cc57e057f.el7.spec | 3037 ------------------- redhat/self-test/data/rhel-df0cc57e057f.fc25.spec | 3037 ------------------- redhat/self-test/data/rhel-fce15c45d3fb.el7.spec | 3036 ------------------ redhat/self-test/data/rhel-fce15c45d3fb.fc25.spec | 3036 ------------------ 25 files changed, 1 insertions(+), 72877 deletions(-)