Skip to content

Commit

Permalink
Rename tests/test.sh -> tests/pick-test.sh
Browse files Browse the repository at this point in the history
For consistency with tests/pick-test.
  • Loading branch information
mptre committed Jan 17, 2017
1 parent 4018a79 commit 9c3cdf1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile.am
Expand Up @@ -15,14 +15,14 @@ TESTS=tests/01.t tests/02.t tests/03.t tests/04.t tests/05.t tests/06.t \
tests/37.t tests/38.t tests/39.t tests/40.t tests/41.t tests/42.t \
tests/43.t tests/44.t tests/45.t
TEST_EXTENSIONS=.t
T_LOG_COMPILER=$(top_srcdir)/tests/test.sh
T_LOG_COMPILER=$(top_srcdir)/tests/pick-test.sh
check_PROGRAMS=tests/pick-test
tests_pick_test_SOURCES=tests/pick-test.c
tests_pick_test_CFLAGS=$(AM_CFLAGS)
# Required by posix_openpt on Linux.
tests_pick_test_CFLAGS+=-D_XOPEN_SOURCE=600

EXTRA_DIST=INSTALL.md INSTALL.md.in LICENSE README.md tests/test.sh $(TESTS)
EXTRA_DIST=INSTALL.md INSTALL.md.in LICENSE README.md tests/pick-test.sh $(TESTS)

INSTALL.md: INSTALL.md.in
sed -e 's|@PACKAGE_VERSION[@]|$(PACKAGE_VERSION)|g' $@.in > $@
2 changes: 1 addition & 1 deletion tests/README.md
@@ -1,7 +1,7 @@
Test suite
==========

The test suite consists of a shell script `test.sh` responsible for running
The test suite consists of a shell script `pick-test.sh` responsible for running
tests written in the file format described below and `pick-test.c` which will
invoke pick with a pseudo-terminal. This allows sending keyboard input sequences
and reading the output on exit.
Expand Down
2 changes: 1 addition & 1 deletion tests/test.sh → tests/pick-test.sh
@@ -1,7 +1,7 @@
#!/bin/sh

usage() {
echo "usage: sh tests/test.sh file ..." 1>&2
echo "usage: sh tests/pick-test.sh file ..." 1>&2
exit 1
}

Expand Down

0 comments on commit 9c3cdf1

Please sign in to comment.