diff --git a/t/300-add.t b/t/300-add.t
index bec8e7d7e82df94ce24d57916336c7763a7da8e1..4acd0a2cc64cccb34ca66cf9ae35f38c95712ca0 100644
--- a/t/300-add.t
+++ b/t/300-add.t
@@ -29,7 +29,7 @@ A  a
 
 ", 'Adding a file works';
 
-my $output = `.././vcsh status --terse`;
+$output = `.././vcsh status --terse`;
 
 ok $output eq "test1:
 A  a