diff --git a/examples/c/reccalc/reccalc.test b/examples/c/reccalc/reccalc.test
index 5e0402a8..27716a24 100644
--- a/examples/c/reccalc/reccalc.test
+++ b/examples/c/reccalc/reccalc.test
@@ -15,7 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see .
-seq 0 >/dev/null || exit 77
+(seq 0) >/dev/null 2>&1 || exit 77
cat >input <