aboutsummaryrefslogtreecommitdiff
path: root/tests/bash
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-01-26 13:00:34 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-01-26 13:00:34 +0200
commit9b238b9b81a04554edbd6bc35d12aac0433cd511 (patch)
tree4873066ede5b9c1efcdc970603a4695bbcfb7e2b /tests/bash
parent614ac547aabbf9c6168e3ad42dad6ee022de2080 (diff)
Make bash module install into bin/<project>.bash/ to avoid clashes
Also, expect the first component in the import path to be full project name even in case it has the .bash extension.
Diffstat (limited to 'tests/bash')
-rw-r--r--tests/bash/testscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bash/testscript b/tests/bash/testscript
index 1e5665c..05f48a1 100644
--- a/tests/bash/testscript
+++ b/tests/bash/testscript
@@ -119,7 +119,7 @@ if ($test.target == $build.host && $build.host.class != 'windows')
}
fi
- @import sub/foo@
+ @import sub.bash/foo@
EOI
cat <<EOI >=buildfile;
@@ -140,7 +140,7 @@ if ($test.target == $build.host && $build.host.class != 'windows')
:
{
cat <<EOI >=test.bash.in;
- @import sub/foo@
+ @import sub.bash/foo@
EOI
cat <<EOI >=driver.in;