diff options
Diffstat (limited to 't/self-check-explicit-skips.sh')
-rwxr-xr-x | t/self-check-explicit-skips.sh | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/t/self-check-explicit-skips.sh b/t/self-check-explicit-skips.sh index 602c31c3b..3e7a77c0a 100755 --- a/t/self-check-explicit-skips.sh +++ b/t/self-check-explicit-skips.sh @@ -24,9 +24,11 @@ test x"$sh_errexit_works" = x"yes" || skip_ "no working shell exit trap" # We still need a little hack to make ./defs work outside automake's # tree 'tests' subdirectory. Not a big deal. -sed "s|^testbuilddir=.*|testbuilddir='`pwd`'|" ../defs-static >defs-static -diff ../defs-static defs-static && Exit 99 -cp ../defs . +sed "s|^am_top_builddir=.*|am_top_builddir='`pwd`'|" \ + "$am_top_builddir"/defs-static > defs-static +diff "$am_top_builddir"/defs-static defs-static \ + && fatal_ "failed to edit defs-static" +cp "$am_top_builddir"/defs . set +e |