Get rid of unicode quotes (#1140)
This commit is contained in:
parent
7ee43df862
commit
f78126bfd6
96 changed files with 670 additions and 670 deletions
|
|
@ -66,7 +66,7 @@ clearCacheCache() {
|
|||
|
||||
startDaemon() {
|
||||
# Start the daemon, wait for the socket to appear. !!!
|
||||
# ‘nix-daemon’ should have an option to fork into the background.
|
||||
# 'nix-daemon' should have an option to fork into the background.
|
||||
rm -f $NIX_STATE_DIR/daemon-socket/socket
|
||||
nix-daemon &
|
||||
for ((i = 0; i < 30; i++)); do
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
# The function ‘range’ comes from lib.nix and was added to the lexical
|
||||
# The function 'range' comes from lib.nix and was added to the lexical
|
||||
# scope by scopedImport.
|
||||
range 1 5 ++ import ./imported2.nix
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ source common.sh
|
|||
clearStore
|
||||
|
||||
# Test whether read-only evaluation works when referring to the
|
||||
# ‘drvPath’ attribute.
|
||||
# 'drvPath' attribute.
|
||||
echo "evaluating c..."
|
||||
#drvPath=$(nix-instantiate multiple-outputs.nix -A c --readonly-mode)
|
||||
|
||||
|
|
@ -14,7 +14,7 @@ drvPath=$(nix-instantiate multiple-outputs.nix -A c)
|
|||
grep -q 'multiple-outputs-a.drv",\["first","second"\]' $drvPath
|
||||
grep -q 'multiple-outputs-b.drv",\["out"\]' $drvPath
|
||||
|
||||
# While we're at it, test the ‘unsafeDiscardOutputDependency’ primop.
|
||||
# While we're at it, test the 'unsafeDiscardOutputDependency' primop.
|
||||
outPath=$(nix-build multiple-outputs.nix -A d --no-out-link)
|
||||
drvPath=$(cat $outPath/drv)
|
||||
outPath=$(nix-store -q $drvPath)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Test ‘nix-copy-closure’.
|
||||
# Test 'nix-copy-closure'.
|
||||
|
||||
{ system, nix }:
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
echo "‘timeout’ builder entering an infinite loop"
|
||||
echo "'timeout' builder entering an infinite loop"
|
||||
while true ; do echo -n .; done
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ source common.sh
|
|||
failed=0
|
||||
messages="`nix-build -Q timeout.nix --timeout 2 2>&1 || failed=1`"
|
||||
if [ $failed -ne 0 ]; then
|
||||
echo "error: ‘nix-store’ succeeded; should have timed out"
|
||||
echo "error: 'nix-store' succeeded; should have timed out"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
|
|||
|
|
@ -164,7 +164,7 @@ nix-env -q '*' | grep -q bar-0.1.1
|
|||
|
||||
# Test priorities: foo-0.1 has a lower priority than foo-1.0, so it
|
||||
# should be possible to install both without a collision. Also test
|
||||
# ‘--set-flag priority’ to manually override the declared priorities.
|
||||
# '--set-flag priority' to manually override the declared priorities.
|
||||
nix-env -e '*'
|
||||
nix-env -i foo-0.1 foo-1.0
|
||||
[ "$($profiles/test/bin/foo)" = "foo-1.0" ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue