mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 14:56:15 +02:00
55016b6fcd
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.
9 lines
169 B
Bash
9 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
|