]> Cypherpunks repositories - goredo.git/commitdiff
Remove unused variable
authorSergey Matveev <stargrave@stargrave.org>
Thu, 16 Jan 2025 10:47:31 +0000 (13:47 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 16 Jan 2025 10:47:31 +0000 (13:47 +0300)
13 files changed:
t/goredo-$1-touch.t
t/goredo-both-ifcreate-ifchange.t
t/goredo-build-uuid-for-fdood.t
t/goredo-chmoding.t
t/goredo-dashed-tgt.t
t/goredo-default.do.t
t/goredo-deps-after-cd.t
t/goredo-deps.t
t/goredo-double-consideration.t
t/goredo-empty-dep.t
t/goredo-failed-build.t
t/goredo-rel-ifcreate.t
t/goredo-whichdo-regression.t

index 19abeb3b8176fb5b4fd68bc340a90305757ffde9..ae2e77548709f750ce62c94165847a5757e950ec 100755 (executable)
@@ -1,6 +1,5 @@
 #!/bin/sh
 
-testname=`basename "$0"`
 test_description="Check failing if unexistent \$1 is touched"
 . $SHARNESS_TEST_SRCDIR/sharness.sh
 export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1
index 81b209b2895c01b4900deb123bd5462fe221d9c8..c23a6b4a600e0b33409a787108d1b6608380379e 100755 (executable)
@@ -1,6 +1,5 @@
 #!/bin/sh
 
-testname=`basename "$0"`
 test_description="Check that warning exists when using both ifcreate/ifchange"
 . $SHARNESS_TEST_SRCDIR/sharness.sh
 export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1
index f464767f1e9e7065d149bdfece75dc4efa93ba43..2930ef0c789afd03d16b86eec4e097798a4ea9f8 100755 (executable)
@@ -1,6 +1,5 @@
 #!/bin/sh
 
-testname=`basename "$0"`
 test_description="Passed known OOD targets must not skip BuildUUID check"
 . $SHARNESS_TEST_SRCDIR/sharness.sh
 export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1
index 01af33c3b40f2d2bb4c5e08549c544de604a1d44..7b3822c404fa382693e4382edfd98cf7e8bd297f 100755 (executable)
@@ -1,6 +1,5 @@
 #!/bin/sh
 
-testname=`basename "$0"`
 test_description="Check that non-renamed target copies mode from temporary target"
 . $SHARNESS_TEST_SRCDIR/sharness.sh
 export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1
index 5bbac3e5decd4df937a85ded02808b15e5626313..ca40d2bf93c8a5fe0c59b7f40a89f555cd3ba2cf 100755 (executable)
@@ -1,6 +1,5 @@
 #!/bin/sh
 
-testname=`basename "$0"`
 test_description="Check that dashed targets are not treated as options"
 . $SHARNESS_TEST_SRCDIR/sharness.sh
 export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1
index e5c8825c9c0a31f17d1593b2b98d74228093bb05..5cf32315c94d7b8c3a738de5696c44375c4edcec 100755 (executable)
@@ -1,6 +1,5 @@
 #!/bin/sh
 
-testname=`basename "$0"`
 test_description="Building of default.do must not depend on itself"
 . $SHARNESS_TEST_SRCDIR/sharness.sh
 export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1
index 720123ca76cb93529e3215c837b8c0e782e6124b..6b998aac581bb3410093746f1e2f2106ecfca8c4 100755 (executable)
@@ -1,6 +1,5 @@
 #!/bin/sh
 
-testname=`basename "$0"`
 test_description="Check that dependencies have correct relative path after cd"
 . $SHARNESS_TEST_SRCDIR/sharness.sh
 export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1
index 2417530dcef70cdf0205b62c19ef8f2f444044ab..6e9a2ab643b02e1ff100dcf2070529301cbf21d7 100755 (executable)
@@ -1,6 +1,5 @@
 #!/bin/sh
 
-testname=`basename "$0"`
 test_description="Check that the following use-case won't rebuild everytime and has correct dependencies"
 . $SHARNESS_TEST_SRCDIR/sharness.sh
 export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1
index fca94b3405b2e544321994f438b3d58a2e8aec73..f915147836f5723d0a57b169ac7db34fc07cfdec 100755 (executable)
@@ -1,6 +1,5 @@
 #!/bin/sh
 
-testname=`basename "$0"`
 test_description="Do not fail if two always-ed targets run simultaneously"
 . $SHARNESS_TEST_SRCDIR/sharness.sh
 export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1
index 60351a43671985397c1a938ddeb8c567be7731ad..67bd27de917781d5cd4e329a1f1a57fecddc7d35 100755 (executable)
@@ -1,6 +1,5 @@
 #!/bin/sh
 
-testname=`basename "$0"`
 test_description="Check that empty target is a dependency and always OOD"
 . $SHARNESS_TEST_SRCDIR/sharness.sh
 export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1
index 8fea801a9d659f730cdc7c89ea0db1a11c0ac0fb..8f5fc5abca183b431efee97a641ba1d6dcb74e9b 100755 (executable)
@@ -1,6 +1,5 @@
 #!/bin/sh
 
-testname=`basename "$0"`
 test_description="Check that failed build is still OOD target"
 . $SHARNESS_TEST_SRCDIR/sharness.sh
 export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1
index 816de9967aebdbec63fa8652c5db575f534b6b59..74bc4a59bf02ceaf91bd4ef83354ec74f297eec2 100755 (executable)
@@ -1,6 +1,5 @@
 #!/bin/sh
 
-testname=`basename "$0"`
 test_description="Proper relative to DirPrefix ifcreate paths"
 . $SHARNESS_TEST_SRCDIR/sharness.sh
 export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1
index ec184e69b08b9863465a4616dd43048d1bab3a78..0697b50ba23c81c04ecf4e7788dcac6d9177d99b 100755 (executable)
@@ -1,6 +1,5 @@
 #!/bin/sh
 
-testname=`basename "$0"`
 test_description="Check that no regression occured as it happened in 2.2.0"
 . $SHARNESS_TEST_SRCDIR/sharness.sh
 export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1