20708476 erlang master tests hardcodes a username
authorRich Burridge <rich.burridge@oracle.com>
Mon, 16 Mar 2015 14:22:24 -0700
changeset 3958 fc5cedb0932b
parent 3957 a5f5c603e464
child 3959 0de894549bd0
20708476 erlang master tests hardcodes a username
components/erlang/Makefile
components/erlang/test/results-64.master
--- a/components/erlang/Makefile	Mon Mar 16 14:10:53 2015 -0700
+++ b/components/erlang/Makefile	Mon Mar 16 14:22:24 2015 -0700
@@ -107,6 +107,11 @@
 COMPONENT_TEST_ENV +=		ERL_TOP=$(BUILD_DIR_64)
 COMPONENT_TEST_TARGETS =	tests
 
+# Remove the two lines which contains the tester's username.
+COMPONENT_TEST_TRANSFORMS += \
+	'-e "s|/ldisk/tests|XXX_UID_XXX|g" ' \
+	'-e "/XXX_UID_XXX/d" '
+
 ASLR_MODE = $(ASLR_ENABLE)
 
 # common targets
--- a/components/erlang/test/results-64.master	Mon Mar 16 14:10:53 2015 -0700
+++ b/components/erlang/test/results-64.master	Mon Mar 16 14:22:24 2015 -0700
@@ -525,8 +525,6 @@
 gmake[2]: Entering directory `$(@D)/lib/inets/test'
 gmake -w RELEASE_PATH="$(@D)/release/tests"   release_tests_spec 
 gmake[3]: Entering directory `$(@D)/lib/inets/test'
-$(@D)/make/make_emakefile +debug_info -pa ../../../internal_tools/test_server/ebin -I. -I$(@D)/lib/test_server/include/ -I$(@D)/lib/inets/src/inets_app -I$(@D)/lib/inets/src/http_lib -I$(@D)/lib/inets/src/http_client -I$(@D)/lib/inets/src/ftp  -Dinets_data_dir='"/ldisk/tests/richb/inets/data_dir"' -Dinets_priv_dir='"/ldisk/tests/richb/inets/priv_dir"' -Dinets_debug -Dinets_log -Dhttpd_manager_verbosity=trace -Dhttpd_request_handler_verbosity=trace -Dhttpd_acceptor_verbosity=trace -Dhttpd_auth_verbosity=log -Dhttpd_security_verbosity=log -pa ../../inets/ebin -o. '*_SUITE_make' | grep -v Warning > Emakefile
-$(@D)/make/make_emakefile +debug_info -pa ../../../internal_tools/test_server/ebin -I. -I$(@D)/lib/test_server/include/ -I$(@D)/lib/inets/src/inets_app -I$(@D)/lib/inets/src/http_lib -I$(@D)/lib/inets/src/http_client -I$(@D)/lib/inets/src/ftp  -Dinets_data_dir='"/ldisk/tests/richb/inets/data_dir"' -Dinets_priv_dir='"/ldisk/tests/richb/inets/priv_dir"' -Dinets_debug -Dinets_log -Dhttpd_manager_verbosity=trace -Dhttpd_request_handler_verbosity=trace -Dhttpd_acceptor_verbosity=trace -Dhttpd_auth_verbosity=log -Dhttpd_security_verbosity=log -pa ../../inets/ebin -o. inets_test_lib ftp_SUITE ftp_format_SUITE ftp_solaris8_sparc_test ftp_solaris9_sparc_test ftp_solaris10_sparc_test ftp_solaris10_x86_test ftp_linux_x86_test ftp_linux_ppc_test ftp_macosx_x86_test ftp_macosx_ppc_test ftp_openbsd_x86_test ftp_freebsd_x86_test ftp_netbsd_x86_test ftp_windows_xp_test ftp_windows_2003_server_test ftp_suite_lib ftp_ticket_test http_format_SUITE httpc_SUITE httpc_cookie_SUITE httpd_SUITE httpd_basic_SUITE httpd_mod httpd_block httpd_load httpd_time_test httpd_1_1 httpd_test_lib inets_sup_SUITE inets_SUITE inets_app_test inets_appup_test tftp_test_lib tftp_SUITE | grep -v Warning >> Emakefile
 /usr/bin/ginstall -c -d "$(@D)/release/tests/inets_test"
 /usr/bin/ginstall -c -m 644 Emakefile inets.cover inets.spec inets_test_lib.erl ftp_SUITE.erl ftp_format_SUITE.erl ftp_solaris8_sparc_test.erl ftp_solaris9_sparc_test.erl ftp_solaris10_sparc_test.erl ftp_solaris10_x86_test.erl ftp_linux_x86_test.erl ftp_linux_ppc_test.erl ftp_macosx_x86_test.erl ftp_macosx_ppc_test.erl ftp_openbsd_x86_test.erl ftp_freebsd_x86_test.erl ftp_netbsd_x86_test.erl ftp_windows_xp_test.erl ftp_windows_2003_server_test.erl ftp_suite_lib.erl ftp_ticket_test.erl http_format_SUITE.erl httpc_SUITE.erl httpc_cookie_SUITE.erl httpd_SUITE.erl httpd_basic_SUITE.erl httpd_mod.erl httpd_block.erl httpd_load.erl httpd_time_test.erl httpd_1_1.erl httpd_test_lib.erl inets_sup_SUITE.erl inets_SUITE.erl inets_app_test.erl inets_appup_test.erl tftp_test_lib.erl tftp_SUITE.erl inets_test_lib.hrl inets_internal.hrl ftp_internal.hrl httpc_internal.hrl http_internal.hrl tftp_test_lib.hrl  "$(@D)/release/tests/inets_test"
 chmod -R u+w "$(@D)/release/tests/inets_test"