From 6316637baed7e8d7ae643c11d921a8f99a66bd71 Mon Sep 17 00:00:00 2001 From: Andreas Guldstrand Date: Sat, 11 Jun 2016 00:26:26 +0200 Subject: sbofind: enable testing of race condition --- sbofind | 1 + 1 file changed, 1 insertion(+) diff --git a/sbofind b/sbofind index 0db08a6..92054dd 100755 --- a/sbofind +++ b/sbofind @@ -70,6 +70,7 @@ sub perform_search { my $tags_file = "$config{SBO_HOME}/repo/TAGS.txt"; my @names; if (-f $tags_file) { + _race::cond('$tags_file may be deleted after -f check'); my ($t_fh, $t_exit) = open_read "$config{SBO_HOME}/repo/TAGS.txt"; unless ($t_exit) { while (my $line = <$t_fh>) { -- cgit v1.2.3