mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 03:56:01 +01:00
shellcheck fix: tests/functional/gc-concurrent2.builder.sh
This commit is contained in:
parent
75df03204b
commit
2e5952fb6a
2 changed files with 5 additions and 3 deletions
|
|
@ -106,7 +106,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
excludes = [
|
excludes = [
|
||||||
# We haven't linted these files yet
|
# We haven't linted these files yet
|
||||||
''^tests/functional/gc-concurrent2\.builder\.sh$''
|
|
||||||
''^tests/functional/gc-non-blocking\.sh$''
|
''^tests/functional/gc-non-blocking\.sh$''
|
||||||
''^tests/functional/hash-convert\.sh$''
|
''^tests/functional/hash-convert\.sh$''
|
||||||
''^tests/functional/impure-derivations\.sh$''
|
''^tests/functional/impure-derivations\.sh$''
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
mkdir $out
|
# shellcheck shell=bash
|
||||||
echo $(cat $input1/foo)$(cat $input2/bar)xyzzy > $out/foobar
|
# shellcheck disable=SC2154
|
||||||
|
mkdir "$out"
|
||||||
|
# shellcheck disable=SC2154
|
||||||
|
echo "$(cat "$input1"/foo)""$(cat "$input2"/bar)"xyzzy > "$out"/foobar
|
||||||
|
|
||||||
# Check that the GC hasn't deleted the lock on our output.
|
# Check that the GC hasn't deleted the lock on our output.
|
||||||
test -e "$out.lock"
|
test -e "$out.lock"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue