summaryrefslogtreecommitdiff
path: root/tests/amhello-cflags.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/amhello-cflags.test')
-rwxr-xr-xtests/amhello-cflags.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/amhello-cflags.test b/tests/amhello-cflags.test
index 3ec54b8bb..5811f451d 100755
--- a/tests/amhello-cflags.test
+++ b/tests/amhello-cflags.test
@@ -22,7 +22,7 @@ am_create_testdir=empty
required=gcc
. ./defs || Exit 1
-cp "$testsrcdir"/../doc/amhello-1.0.tar.gz . \
+cp "$top_testsrcdir"/doc/amhello-1.0.tar.gz . \
|| fatal_ "cannot get amhello tarball"
gzip -dc amhello-1.0.tar.gz | tar xf -