summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2010-04-09 13:59:34 -0700
committerRoland McGrath <roland@redhat.com>2010-04-09 13:59:34 -0700
commit3aa6513708820aad6304c86c62e25b3b294b23f5 (patch)
tree8a1ca384bece25498c08e68f29970faf859c01ba
parent5d7a6541c2365c64622904366bc4f5c1cb2a73d5 (diff)
downloadglibc-3aa6513708820aad6304c86c62e25b3b294b23f5.tar.gz
glibc-3aa6513708820aad6304c86c62e25b3b294b23f5.tar.xz
glibc-3aa6513708820aad6304c86c62e25b3b294b23f5.zip
Fix tst-chmod not to write into srcdir.
-rw-r--r--ChangeLog4
-rw-r--r--posix/Makefile2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2cafb715fe..2c80d69674 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-04-09  Roland McGrath  <roland@redhat.com>
+
+	* posix/Makefile (tst-chmod-ARGS): Pass $(objdir), not `pwd`.
+
 2010-04-08  Ulrich Drepper  <drepper@redhat.com>
 
 	[BZ #10915]
diff --git a/posix/Makefile b/posix/Makefile
index df0e6f1053..643d7e5374 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -179,7 +179,7 @@ tstgetopt-ARGS = -a -b -cfoobar --required foobar --optional=bazbug \
 tst-exec-ARGS = -- $(built-program-cmd)
 tst-spawn-ARGS = -- $(built-program-cmd)
 tst-dir-ARGS = `pwd` `cd $(common-objdir)/$(subdir); pwd` `cd $(common-objdir); pwd` $(objpfx)tst-dir
-tst-chmod-ARGS = `pwd`
+tst-chmod-ARGS = $(objdir)
 tst-vfork3-ARGS = --test-dir=$(objpfx)
 
 tst-fnmatch-ENV = LOCPATH=$(common-objpfx)localedata