OpenWrt_Luci_Lua/1_3.test_code/sh_test/testMemory.sh

10 lines
160 B
Bash
Raw Normal View History

2015-07-29 12:31:49 +00:00
#!/bin/sh
var=1
obj=40
while ((${var} < ${obj})); do
./testMemory.sh #call self
var=$((var+1))
echo "unlimited recursive call..."
done