diff --git a/lld/test/wasm/reproduce.ll b/lld/test/wasm/reproduce.ll
index ca88cb428ffc..e36d04b78539 100644
--- a/lld/test/wasm/reproduce.ll
+++ b/lld/test/wasm/reproduce.ll
@@ -5,7 +5,7 @@
 ; RUN: wasm-ld --reproduce=%t.dir/repro.tar -o out.wasm %t.dir/foo.o
 
 ; RUN: cd %t.dir
-; RUN: tar tf repro.tar | FileCheck --check-prefix=TAR
+; RUN: tar tf repro.tar | FileCheck --check-prefix=TAR %s
 
 ; TAR: repro/response.txt
 ; TAR: repro/version.txt