mirror of
https://github.com/NixOS/nix.git
synced 2025-02-19 18:32:36 +00:00

Adding a test to ensure there is no regression. The tests that are split out of `tests/build.sh` are ones that don't yet work with CA derivation. I have not yet evaluated whether they should or not. This behavior, reported missing in issue #4661, already got fixed in PR #4818, but didn't get a test case then.
10 lines
169 B
Bash
10 lines
169 B
Bash
source common.sh
|
|
|
|
testNormalization () {
|
|
clearStore
|
|
outPath=$(nix-build ./simple.nix --no-out-link)
|
|
test "$(stat -c %Y $outPath)" -eq 1
|
|
}
|
|
|
|
testNormalization
|