ulimit: add basic tests

This commit is contained in:
David Adam 2022-03-23 23:16:52 +08:00
parent a7eebff916
commit 6a8efa3f15

7
tests/checks/ulimit.fish Normal file
View file

@ -0,0 +1,7 @@
#RUN: %fish %s
ulimit --core-size
#CHECK: {{unlimited|\d+}}
ulimit --core-size 0
ulimit --core-size
#CHECK: 0