aboutsummaryrefslogtreecommitdiff
path: root/src/main/test_gzip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/test_gzip.c')
-rw-r--r--src/main/test_gzip.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main/test_gzip.c b/src/main/test_gzip.c
index 5b29ac1..5805cf5 100644
--- a/src/main/test_gzip.c
+++ b/src/main/test_gzip.c
@@ -150,7 +150,14 @@ main (int argc, char *argv[])
150 fprintf (stderr, "failed to load test plugin\n"); 150 fprintf (stderr, "failed to load test plugin\n");
151 return 1; 151 return 1;
152 } 152 }
153 EXTRACTOR_extract (pl, "test_file.dat.gz", NULL, 0, &process_replies, 153 if (0 != access ("test_file.dat.gz",
154 R_OK))
155 return 77;
156 EXTRACTOR_extract (pl,
157 "test_file.dat.gz",
158 NULL,
159 0,
160 &process_replies,
154 "main-cls"); 161 "main-cls");
155 EXTRACTOR_plugin_remove_all (pl); 162 EXTRACTOR_plugin_remove_all (pl);
156 return ret; 163 return ret;