aboutsummaryrefslogtreecommitdiff
path: root/tests/scope/test.sh
blob: 2728a9dbd54052eefc8609262744264adc038bf0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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/