From b38c4a35b242ccf1e42cbde5a9bcf99d96c66562 Mon Sep 17 00:00:00 2001 From: xonix Date: Wed, 29 Sep 2021 16:25:07 +0300 Subject: [PATCH] makesure_stable should not be changed before the release #60 : make tests less rely on version number --- tests/0_basic.tush | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/tests/0_basic.tush b/tests/0_basic.tush index cf87337..1e75b83 100644 --- a/tests/0_basic.tush +++ b/tests/0_basic.tush @@ -1,13 +1,15 @@ -$ cd "$MYDIR"; ./$MAKESURE -v; ./$MAKESURE --version -| 0.9.10 -| 0.9.10 +$ cd "$MYDIR"; ./$MAKESURE -v | awk -v "v=$NEXT_VERSION" '{ sub(v,"XXX") } 1' +| XXX -$ cd "$MYDIR/tests/emptydir"; ../../$MAKESURE -v -| 0.9.10 +$ cd "$MYDIR"; ./$MAKESURE --version | awk -v "v=$NEXT_VERSION" '{ sub(v,"XXX") } 1' +| XXX -$ cd "$MYDIR/tests/emptydir"; ../../$MAKESURE -h -| makesure ver. 0.9.10 +$ cd "$MYDIR/tests/emptydir"; ../../$MAKESURE -v | awk -v "v=$NEXT_VERSION" '{ sub(v,"XXX") } 1' +| XXX + +$ cd "$MYDIR/tests/emptydir"; ../../$MAKESURE -h | awk -v "v=$NEXT_VERSION" '{ sub(v,"XXX") } 1' +| makesure ver. XXX | Usage: makesure [options...] [-f buildfile] [goals...] | -f,--file buildfile | set buildfile to use (default Makesurefile)