From 640beafa8c1d7fa85892d2f5bf858c9325cf4326 Mon Sep 17 00:00:00 2001 From: Jan Kanis Date: Mon, 14 Jan 2013 01:33:40 +0100 Subject: fix a memory leak in profiling, add a profiling test --- tests/test.fish | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/test.fish') diff --git a/tests/test.fish b/tests/test.fish index 610c966e..6d2ce42c 100755 --- a/tests/test.fish +++ b/tests/test.fish @@ -32,6 +32,12 @@ if [ "$argv" != '-n' ] echo Exit status differs for file test.fish end + ../fish -p /dev/null -c 'echo testing' >/dev/null + if test $status -ne 0 + set res fail + echo Profiling fails + end + if test $res = ok; echo File test.fish tested ok else -- cgit v1.2.3