diff options
author | Tinku Mannan | 2014-08-15 06:53:18 -0500 |
---|---|---|
committer | Tinku Mannan | 2014-08-15 06:53:18 -0500 |
commit | 52c70ac8b1cf412606e7293e46f8561421df1f31 (patch) | |
tree | b8afc5c43f45da6ef79a728aae8326ad88e5d78c | |
parent | af137e0993e088380c7efa3196d3e52115cb400b (diff) | |
download | hplib-52c70ac8b1cf412606e7293e46f8561421df1f31.tar.gz hplib-52c70ac8b1cf412606e7293e46f8561421df1f31.tar.xz hplib-52c70ac8b1cf412606e7293e46f8561421df1f31.zip |
Update config file paths to point to new location on filesystem
-rwxr-xr-x | ti/runtime/netapi/test/net_test_loopback.c | 2 | ||||
-rwxr-xr-x | ti/runtime/netapi/test/net_test_router.c | 2 | ||||
-rw-r--r-- | ti/runtime/netapi/tools/net_test_loopback_setup.sh | 2 | ||||
-rw-r--r-- | ti/runtime/netapi/tools/net_test_router_setup.sh | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/ti/runtime/netapi/test/net_test_loopback.c b/ti/runtime/netapi/test/net_test_loopback.c index ff6ce54..f8b901b 100755 --- a/ti/runtime/netapi/test/net_test_loopback.c +++ b/ti/runtime/netapi/test/net_test_loopback.c | |||
@@ -78,7 +78,7 @@ hplib_spinLock_T net_test_thread_lock; | |||
78 | 78 | ||
79 | netTestConfig_t netTestCfg; | 79 | netTestConfig_t netTestCfg; |
80 | static netTestConfigFile_t config_file; | 80 | static netTestConfigFile_t config_file; |
81 | char input_file_name[] = "/etc/netapi/net_test_config.txt"; | 81 | char input_file_name[] = "/etc/transportnetlib/test/net_test_config.txt"; |
82 | nwal_RetValue nwalRetVal; | 82 | nwal_RetValue nwalRetVal; |
83 | Pktlib_HeapHandle ourHeap; | 83 | Pktlib_HeapHandle ourHeap; |
84 | 84 | ||
diff --git a/ti/runtime/netapi/test/net_test_router.c b/ti/runtime/netapi/test/net_test_router.c index edbf0e5..45d693f 100755 --- a/ti/runtime/netapi/test/net_test_router.c +++ b/ti/runtime/netapi/test/net_test_router.c | |||
@@ -78,7 +78,7 @@ hplib_spinLock_T net_test_thread_lock; | |||
78 | netTestConfig_t netTestCfg; | 78 | netTestConfig_t netTestCfg; |
79 | static netTestConfigFile_t config_file; | 79 | static netTestConfigFile_t config_file; |
80 | 80 | ||
81 | char input_file_name[] = "/etc/netapi/net_test_config.txt"; | 81 | char input_file_name[] = "/etc/transportnetlib/test/net_test_config.txt"; |
82 | 82 | ||
83 | nwal_RetValue nwalRetVal; | 83 | nwal_RetValue nwalRetVal; |
84 | Pktlib_HeapHandle ourHeap; | 84 | Pktlib_HeapHandle ourHeap; |
diff --git a/ti/runtime/netapi/tools/net_test_loopback_setup.sh b/ti/runtime/netapi/tools/net_test_loopback_setup.sh index fec25cd..3ac5151 100644 --- a/ti/runtime/netapi/tools/net_test_loopback_setup.sh +++ b/ti/runtime/netapi/tools/net_test_loopback_setup.sh | |||
@@ -7,6 +7,6 @@ insmod /lib/modules/$KERNEL_VER/extra/hplibmod.ko | |||
7 | # disable vlan aware mode in switch | 7 | # disable vlan aware mode in switch |
8 | devmem2 0x2090804 w 0x4 | 8 | devmem2 0x2090804 w 0x4 |
9 | # | 9 | # |
10 | # run net_test_loopback applicaton, default location of config file is in /etc/netapi, | 10 | # run net_test_loopback applicaton, default location of config file is in /etc/transportnetlib, |
11 | # default config file name is net_test_config.txt | 11 | # default config file name is net_test_config.txt |
12 | /usr/bin/net_test_loopback /etc/transportnetlib/test/net_test_config.txt | 12 | /usr/bin/net_test_loopback /etc/transportnetlib/test/net_test_config.txt |
diff --git a/ti/runtime/netapi/tools/net_test_router_setup.sh b/ti/runtime/netapi/tools/net_test_router_setup.sh index 3debaf4..74a0722 100644 --- a/ti/runtime/netapi/tools/net_test_router_setup.sh +++ b/ti/runtime/netapi/tools/net_test_router_setup.sh | |||
@@ -11,6 +11,6 @@ ifconfig eth1 10.0.2.100 | |||
11 | # disable vlan aware mode in switch | 11 | # disable vlan aware mode in switch |
12 | devmem2 0x2090804 w 0x4 | 12 | devmem2 0x2090804 w 0x4 |
13 | # | 13 | # |
14 | # run net_test_router applicaton, default location of config file is in /etc/netapi, | 14 | # run net_test_router applicaton, default location of config file is in /etc/transportnetlib, |
15 | # default config file name is net_test_config.txt | 15 | # default config file name is net_test_config.txt |
16 | /usr/bin/net_test_router /etc/transportnetlib/test/net_test_config.txt | 16 | /usr/bin/net_test_router /etc/transportnetlib/test/net_test_config.txt |