summaryrefslogtreecommitdiffstats
path: root/tests/include.rc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/include.rc')
-rw-r--r--tests/include.rc6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/include.rc b/tests/include.rc
index 5640ab08fbe..599ad1bd4c2 100644
--- a/tests/include.rc
+++ b/tests/include.rc
@@ -325,6 +325,12 @@ function process_leak_count ()
return $(ls -lh /proc/$pid/fd | grep "(deleted)"| wc -l)
}
+function STAT()
+{
+ stat $1
+ echo $?
+}
+
alias EXPECT='_EXPECT $LINENO'
alias EXPECT_NOT='_EXPECT_NOT $LINENO'
alias TEST='_TEST $LINENO'