diff options
Diffstat (limited to 'tests/include.rc')
-rw-r--r-- | tests/include.rc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/include.rc b/tests/include.rc index b46a7b2fde4..6f224833bf9 100644 --- a/tests/include.rc +++ b/tests/include.rc @@ -1137,3 +1137,13 @@ function STAT() stat $1 echo $? } + +function STAT_INO() +{ + local ino=$(stat -c '%i' $1) + if [ $? -eq 0 ]; then + echo $ino + else + echo 0 + fi +} |