bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18057: [PATCH] Find tail.c in srcdir, not builddir


From: Bernhard Voelker
Subject: bug#18057: [PATCH] Find tail.c in srcdir, not builddir
Date: Wed, 23 Jul 2014 16:37:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 07/19/2014 05:26 PM, Andreas Schwab wrote:
diff --git a/tests/tail-2/inotify-race.sh b/tests/tail-2/inotify-race.sh
index c25f354..7140871 100755
--- a/tests/tail-2/inotify-race.sh
+++ b/tests/tail-2/inotify-race.sh
@@ -37,7 +37,7 @@ case $(cat gdb.out) in
      *) skip_ "can't run gdb";;
  esac

-break_src="$abs_top_builddir/src/tail.c"
+break_src="$abs_top_srcdir/src/tail.c"
  break_line=$(grep -n ^tail_forever_inotify "$break_src") || framework_failure_
  break_line=$(echo "$break_line" | cut -d: -f1) || framework_failure_


Thanks for the patch.
However, what's wrong with $abs_top_builddir?
... given that it's successfully used in 21 other
places:

  $ git grep abs_top_builddir -- tests | wc -l
  22

Thanks & have a nice day,
Berny






reply via email to

[Prev in Thread] Current Thread [Next in Thread]