commit 34841712b18142cef2d1307f14a58d87f0fa14eb from: smytht via: GitHub date: Tue Oct 29 21:20:38 2024 UTC Create no-config-change-test.nshrc added these basic test scripts to allow for testing nsh commands that dont alter configs commit - 462a289a42f01612bb72252bea13a562aa77bb49 commit + 34841712b18142cef2d1307f14a58d87f0fa14eb blob - /dev/null blob + 68d1c3de5d14def06a90ba7d22752c9e9110b9ff (mode 644) --- /dev/null +++ scripts/nshrc/test/no-config-change-test.nshrc @@ -0,0 +1,17 @@ +clear +config +exit +config +interface lo0 +show active +! +interface lo0 +show active +exit +telnet 127.0.0.1 22 +logger does this message appear in /var/log/messages +!tail -n 5 /var/log/messages +telnet 127.0.0.1 22 +traceroute 127.0.0.1 +ping 127.0.0.1 +exit