summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Sperling <ssperling@sysmocom.de>2018-06-14 11:03:52 +0200
committerStefan Sperling <ssperling@sysmocom.de>2018-06-14 13:55:07 +0200
commit97db03a68246b7821de144b0ef41ad6ad7486610 (patch)
tree8760f20d123144902cb5cfa2b418099d115bd515
parent4dc9088cabedc40cb9072814237ad5926b12bd35 (diff)
rename m3ua_example to sccp_demo_user
The new name allows for more natural naming of variables in TTCN3 code when this program is used as a TTCN3 test component. Consider e.g. "SCCP_DEMO_USER_VTY" vs. "M3UA_EXAMPLE_VTY". Change-Id: I92b5e16e765a1ac36371a16933389903628f8dfe Related: OS#2666
-rw-r--r--.gitignore2
-rw-r--r--examples/Makefile.am6
-rw-r--r--examples/sccp_demo_user.c (renamed from examples/m3ua_example.c)4
3 files changed, 6 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index e63e4ee..9423d67 100644
--- a/.gitignore
+++ b/.gitignore
@@ -60,7 +60,7 @@ tests/package.m4
tests/testsuite
tests/testsuite.log
-examples/m3ua_example
+examples/sccp_demo_user
stp/osmo-stp
diff --git a/examples/Makefile.am b/examples/Makefile.am
index 6418aca..1993a01 100644
--- a/examples/Makefile.am
+++ b/examples/Makefile.am
@@ -4,8 +4,8 @@ AM_LDFLAGS=$(COVERAGE_LDFLAGS)
noinst_HEADERS = internal.h
-noinst_PROGRAMS = m3ua_example
+noinst_PROGRAMS = sccp_demo_user
-m3ua_example_SOURCES = m3ua_example.c sccp_test_server.c sccp_test_vty.c
-m3ua_example_LDADD = $(top_builddir)/src/libosmo-sigtran.la \
+sccp_demo_user_SOURCES = sccp_demo_user.c sccp_test_server.c sccp_test_vty.c
+sccp_demo_user_LDADD = $(top_builddir)/src/libosmo-sigtran.la \
$(LIBOSMOCORE_LIBS) $(LIBOSMOVTY_LIBS)
diff --git a/examples/m3ua_example.c b/examples/sccp_demo_user.c
index 2a99450..f0b1a3e 100644
--- a/examples/m3ua_example.c
+++ b/examples/sccp_demo_user.c
@@ -78,7 +78,7 @@ static void init_logging(void)
}
static struct vty_app_info vty_info = {
- .name = "sccp-test",
+ .name = "sccp-demo-user",
.version = 0,
};
@@ -90,7 +90,7 @@ static struct vty_app_info vty_info = {
#define DEFAULT_REMOTE_PORT M3UA_PORT
static void usage(void) {
- fprintf(stderr, "m3ua_example [-c] [-l LOCAL_ADDRESS[:LOCAL_PORT]]\n"
+ fprintf(stderr, "sccp_demo_user [-c] [-l LOCAL_ADDRESS[:LOCAL_PORT]]\n"
" [-r REMOTE_ADDRESS[:REMOTE_PORT]]\n"
" [-L LOCAL_POINT_CODE] [-R REMOTE_POINT_CODE]\n"
"Options:\n"