]> Kevux Git Server - rit/commit
t1420: modernize the lost-found test
authorAndrew Chitester <andchi@fastmail.com>
Tue, 6 Jan 2026 13:26:58 +0000 (08:26 -0500)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Jan 2026 00:19:41 +0000 (09:19 +0900)
commit6c5c7e7071eeac33139fc7a7c0387bfb981153c2
treea97f69f1d0fdf8f7bee1fe8fbd34d969068c5959
parent9a2fb147f2c61d0cab52c883e7e26f5b7948e3ed
t1420: modernize the lost-found test

This test indirectly checks that the lost-found folder has 2 files in it
and then checks that the expected two files exist. Make this more
deliberate by removing the old test -f and compare the actual ls of the
lost-found directory with the expected files.

Signed-off-by: Andrew Chitester <andchi@fastmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t1420-lost-found.sh