From 2c168b712784d77e46c01b14f1f25b9d65d2cf26 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Sun, 18 Oct 2015 11:18:23 -0500 Subject: move rfc5280time to rfc5280time_small Having the same name as the executable confuses the driver, and it runs the wrong thing. --- tests/Makefile.am | 4 ++-- tests/rfc5280time.test | 10 ---------- tests/rfc5280time_small.test | 10 ++++++++++ 3 files changed, 12 insertions(+), 12 deletions(-) delete mode 100755 tests/rfc5280time.test create mode 100755 tests/rfc5280time_small.test diff --git a/tests/Makefile.am b/tests/Makefile.am index a01b771..bb32142 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -264,11 +264,11 @@ rc4test_SOURCES = rc4test.c check_PROGRAMS += rfc5280time rfc5280time_SOURCES = rfc5280time.c if SMALL_TIME_T -TESTS += rfc5280time.test +TESTS += rfc5280time_small.test else TESTS += rfc5280time endif -EXTRA_DIST += rfc5280time.test +EXTRA_DIST += rfc5280time_small.test # rmdtest TESTS += rmdtest diff --git a/tests/rfc5280time.test b/tests/rfc5280time.test deleted file mode 100755 index 3730597..0000000 --- a/tests/rfc5280time.test +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh -set -e -echo 1..2 -TEST=./rfc5280time -if [ -e ./rfc5280time.exe ]; then - TEST=./rfc5280time.exe -fi -$TEST -echo "ok 1" -echo "ok 2 - rfc5280time_64-bit # SKIP this system is unable to represent times past 2038" diff --git a/tests/rfc5280time_small.test b/tests/rfc5280time_small.test new file mode 100755 index 0000000..3730597 --- /dev/null +++ b/tests/rfc5280time_small.test @@ -0,0 +1,10 @@ +#!/bin/sh +set -e +echo 1..2 +TEST=./rfc5280time +if [ -e ./rfc5280time.exe ]; then + TEST=./rfc5280time.exe +fi +$TEST +echo "ok 1" +echo "ok 2 - rfc5280time_64-bit # SKIP this system is unable to represent times past 2038" -- cgit v1.2.3-55-g6feb