about summary refs log blame commit diff
path: root/tests/logging.sh
blob: 86f32bade941870fd2027ace1bf959d2382627ef (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

                
          
 
                                                
 





                                 
                      

                                                                         
source common.sh

clearStore

path=$(nix-build dependencies.nix --no-out-link)

# Test nix-store -l.
[ "$(nix-store -l $path)" = FOO ]

# Test compressed logs.
clearStore
rm -rf $NIX_LOG_DIR
(! nix-store -l $path)
nix-build dependencies.nix --no-out-link --option build-compress-log true
[ "$(nix-store -l $path)" = FOO ]