From 4b81bb549def2d61d91b9697530fafbd74f1daf2 Mon Sep 17 00:00:00 2001 From: Petr Rockai Date: Sun, 12 Dec 2010 21:17:25 +0000 Subject: [PATCH] Fix the sed expression to get "base" names of tests. --- test/Makefile.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile.in b/test/Makefile.in index 0372cfe5d..c0ab7f66b 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -29,7 +29,7 @@ T ?= . S ?= @ # never match anything by default VERBOSE ?= 0 RUN = $(shell find $(srcdir) -regextype posix-egrep \( -name t-\*.sh -or -path */api/\*.sh \) -and -regex "$(srcdir)/.*($(T)).*" -and -not -regex "$(srcdir)/.*($(S)).*" | sort) -RUN_BASE = $(shell echo $(RUN) | sed -e s,$(srcdir)/,,g) +RUN_BASE = $(shell echo $(RUN) | sed -e s,^$(srcdir)/,,) # Shell quote; SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH)) -- 2.43.5