[1/1] locale/tst-locale-locpath: Fix arguments passing

Message ID 7901d4ee7ba91c963a9a7c9365267552edad32f3.1562739903.git.han_mao@c-sky.com
State Committed
Headers

Commit Message

毛晗 July 10, 2019, 6:26 a.m. UTC
  The arguments passed by Makefile are missing match with the arguments
taken by locale/tst-locale-locpath.sh. Without this patch
cross-test-ssh.sh will be called twice in a single command while
doing the make check test wish ssh test wrapper.

	* locale/Makefile: Fix tst-locale-locpath arguments passing.
---
 ChangeLog       | 4 ++++
 locale/Makefile | 2 +-
 2 files changed, 5 insertions(+), 1 deletion(-)
  

Comments

Florian Weimer July 10, 2019, 6:36 a.m. UTC | #1
* Mao Han:

> The arguments passed by Makefile are missing match with the arguments
> taken by locale/tst-locale-locpath.sh. Without this patch
> cross-test-ssh.sh will be called twice in a single command while
> doing the make check test wish ssh test wrapper.
>
> 	* locale/Makefile: Fix tst-locale-locpath arguments passing.

Still looks good.  Thanks.

Florian
  

Patch

diff --git a/ChangeLog b/ChangeLog
index 158337a..632e180 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@ 
+2019-07-10  Mao Han  <han_mao@c-sky.com>
+
+	* locale/Makefile: Fix tst-locale-locpath arguments passing.
+
 2019-07-09  Paul A. Clarke  <pc@us.ibm.com>
     
 	* sysdeps/powerpc/fpu/fenv_libc.h (_FPU_GET_RC): Protect use of
diff --git a/locale/Makefile b/locale/Makefile
index 0ad99ec..d78cf9b 100644
--- a/locale/Makefile
+++ b/locale/Makefile
@@ -113,5 +113,5 @@  lib := locale-programs
 include $(patsubst %,$(..)libof-iterator.mk,$(cpp-srcs-left))
 
 $(objpfx)tst-locale-locpath.out : tst-locale-locpath.sh $(objpfx)locale
-	$(SHELL) $< '$(common-objpfx)' '$(test-wrapper)' '$(test-wrapper-env)' > $@; \
+	$(SHELL) $< '$(common-objpfx)' '$(test-wrapper-env)' '$(run-program-env)' > $@; \
 	$(evaluate-test)