OpenWrt_Luci_Lua/1_3.test_code/sh_test/testMemory.sh
2015-07-29 20:31:49 +08:00

10 lines
160 B
Bash
Executable File

#!/bin/sh
var=1
obj=40
while ((${var} < ${obj})); do
./testMemory.sh #call self
var=$((var+1))
echo "unlimited recursive call..."
done