about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-08-29T10·35+0200
committerEelco Dolstra <edolstra@gmail.com>2019-08-29T10·35+0200
commit31f5ecfaa5bce2282f50daed1e4f477c64705fb3 (patch)
tree313981311a7b0a929797fcc928a1692891e4d699
parentecb0a23d51e46e2e0180850bdc8ad6cb7cc3d13f (diff)
Maybe fix #3058
-rw-r--r--tests/gc-auto.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/gc-auto.sh b/tests/gc-auto.sh
index 49894bc68ef4..68b7219f238d 100644
--- a/tests/gc-auto.sh
+++ b/tests/gc-auto.sh
@@ -2,12 +2,12 @@ source common.sh
 
 clearStore
 
-garbage1=$(nix add-to-store --name garbage1 ./tarball.sh)
-garbage2=$(nix add-to-store --name garbage2 ./tarball.sh)
-garbage3=$(nix add-to-store --name garbage3 ./tarball.sh)
+garbage1=$(nix add-to-store --name garbage1 ./nar-access.sh)
+garbage2=$(nix add-to-store --name garbage2 ./nar-access.sh)
+garbage3=$(nix add-to-store --name garbage3 ./nar-access.sh)
 
 ls -l $garbage3
-du $garbage3
+POSIXLY_CORRECT=1 du $garbage3
 
 fake_free=$TEST_ROOT/fake-free
 export _NIX_TEST_FREE_SPACE_FILE=$fake_free