selftests: netfilter: fix current year
authorFabian Frederick <fabf@skynet.be>
Sat, 30 Jan 2021 10:14:25 +0000 (11:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Feb 2021 10:02:25 +0000 (11:02 +0100)
commitef8f281a653006e14b8d2999fe934e890e51e71b
treec54ed2eac1a181bd1f6a312621a2b199b8cbd19c
parentf035e97f331e6b8f61d95fe1fbb33622405cc7c3
selftests: netfilter: fix current year

[ Upstream commit a3005b0f83f217c888393c6bf9cd36e3d1616bca ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/testing/selftests/netfilter/nft_meta.sh