about summary refs log blame commit diff
path: root/tests/logging.sh
blob: c894ad3ff079ef10dd96ce984f38be469e8c9f54 (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 --compress-build-log
[ "$(nix-store -l $path)" = FOO ]