mirror of
https://github.com/JamesonHuang/OpenWrt_Luci_Lua.git
synced 2025-06-26 12:40:37 +00:00
add test code about c & sh
This commit is contained in:
9
1_3.test_code/sh_test/testMemory.sh
Executable file
9
1_3.test_code/sh_test/testMemory.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
var=1
|
||||
obj=40
|
||||
while ((${var} < ${obj})); do
|
||||
./testMemory.sh #call self
|
||||
var=$((var+1))
|
||||
echo "unlimited recursive call..."
|
||||
done
|
||||
|
Reference in New Issue
Block a user