]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
selftests: netfilter: fix current year
authorFabian Frederick <fabf@skynet.be>
Sat, 30 Jan 2021 10:14:25 +0000 (11:14 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 3 Feb 2021 23:33:09 +0000 (00:33 +0100)
commita3005b0f83f217c888393c6bf9cd36e3d1616bca
tree203cdd5917cc2a700fc44c8a7e619f69cd7ea6bf
parentb1bdde33b72366da20d10770ab7a49fe87b5e190
selftests: netfilter: fix current year

use date %Y instead of %G to read current year
Problem appeared when running lkp-tests on 01/01/2021

Fixes: 48d072c4e8cd ("selftests: netfilter: add time counter check")
Reported-by: kernel test robot <oliver.sang@intel.com>
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
tools/testing/selftests/netfilter/nft_meta.sh