From 390b74ee34ac567cab7d6b07b130a16504bbc43c Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Thu, 27 Sep 2018 02:41:54 +0200 Subject: Rename ext/snmp/tests/bigtest.sh to bigtest This can avoid some confusions with .gitignored autogenerated `.sh` files in test directories and to distinguish the autogenerated shell files from the tracked in Git ones more easily. --- ext/snmp/tests/README | 2 +- ext/snmp/tests/bigtest | 10 ++++++++++ ext/snmp/tests/bigtest.sh | 10 ---------- ext/snmp/tests/snmpd.conf | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) create mode 100755 ext/snmp/tests/bigtest delete mode 100755 ext/snmp/tests/bigtest.sh (limited to 'ext/snmp') diff --git a/ext/snmp/tests/README b/ext/snmp/tests/README index 0db1a4f82b..ee89386736 100644 --- a/ext/snmp/tests/README +++ b/ext/snmp/tests/README @@ -35,7 +35,7 @@ On Linux/FreeBSD Before launching daemon make sure that there is no file /var/net-snmp/snmpd.conf Delete it if exists. Ingoring to to so will fail SNMPv3 tests. -- Place bigtest.sh near snmpd.conf, tune path to it in snmpd.conf +- Place ext/snmp/tests/bigtest near snmpd.conf, tune path to it in snmpd.conf - Launch snmpd (service snmpd start or /etc/init.d/snmpd start). Alternatively you can start snmpd daemon using following command line: diff --git a/ext/snmp/tests/bigtest b/ext/snmp/tests/bigtest new file mode 100755 index 0000000000..d0d8be783b --- /dev/null +++ b/ext/snmp/tests/bigtest @@ -0,0 +1,10 @@ +#!/bin/sh + +Q=""; +i=0; +while [ $i -lt 32 ]; do + Q="${Q}\3\2\4\11\22\13\14\15\16\17\20\21\22\23\24\25\26\27"; + i=$((i+1)); +done + +printf "${Q}" diff --git a/ext/snmp/tests/bigtest.sh b/ext/snmp/tests/bigtest.sh deleted file mode 100755 index d0d8be783b..0000000000 --- a/ext/snmp/tests/bigtest.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -Q=""; -i=0; -while [ $i -lt 32 ]; do - Q="${Q}\3\2\4\11\22\13\14\15\16\17\20\21\22\23\24\25\26\27"; - i=$((i+1)); -done - -printf "${Q}" diff --git a/ext/snmp/tests/snmpd.conf b/ext/snmp/tests/snmpd.conf index 5297d0b9ea..54578f8db3 100644 --- a/ext/snmp/tests/snmpd.conf +++ b/ext/snmp/tests/snmpd.conf @@ -24,4 +24,4 @@ createUser adminMD5DES MD5 test1234 DES test1234 createUser noAuthUser authuser read noAuthUser noauth -exec HexTest /bin/sh /etc/snmp/bigtest.sh +exec HexTest /bin/sh /etc/snmp/bigtest -- cgit v1.2.1