aboutsummaryrefslogtreecommitdiff
path: root/old-tests/scope/test.sh
diff options
context:
space:
mode:
Diffstat (limited to 'old-tests/scope/test.sh')
-rwxr-xr-xold-tests/scope/test.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/old-tests/scope/test.sh b/old-tests/scope/test.sh
new file mode 100755
index 0000000..2728a9d
--- /dev/null
+++ b/old-tests/scope/test.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# In-tree.
+#
+b amalgamation/l1/ 2>/dev/null | diff --strip-trailing-cr -u test-1.out -
+
+# Out-of-tree.
+#
+rm -rf a-out/
+b 'configure(amalgamation/@a-out/)' 2>/dev/null
+
+b amalgamation/l1/@a-out/l1/ 2>/dev/null | \
+ diff --strip-trailing-cr -u test-2.out -
+
+rm -rf a-out/