Commit 71db5e8c74f26e76f62027aad5ceefd7a97ec08e

Stefan Sperling 2019-08-09T00:49:50

fix empty variable in two import regress tests

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/regress/cmdline/import.sh b/regress/cmdline/import.sh
index bf8a068..358a2e9 100755
--- a/regress/cmdline/import.sh
+++ b/regress/cmdline/import.sh
@@ -17,6 +17,7 @@
 . ./common.sh
 
 function test_import_basic {
+	local testname=import_basic
 	local testroot=`mktemp -p /tmp -d got-test-$testname-XXXXXXXX`
 
 	got init $testroot/repo
@@ -166,6 +167,7 @@ function test_import_requires_new_branch {
 }
 
 function test_import_ignores {
+	local testname=import_ignores
 	local testroot=`mktemp -p /tmp -d got-test-$testname-XXXXXXXX`
 
 	got init $testroot/repo