diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-06-11 00:26:26 +0200 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2016-06-11 00:26:26 +0200 |
commit | 6316637baed7e8d7ae643c11d921a8f99a66bd71 (patch) | |
tree | 139e69d1217c6f1dca104e4b1b5ccff4fe40445d | |
parent | cb20de720ba26bd458c7f4c7997f5039f0d4299e (diff) | |
download | sbotools2-6316637baed7e8d7ae643c11d921a8f99a66bd71.tar.xz |
sbofind: enable testing of race condition
-rwxr-xr-x | sbofind | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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>) { |