aboutsummaryrefslogtreecommitdiff
path: root/tests/output-normalization.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/output-normalization.sh')
-rw-r--r--tests/output-normalization.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/output-normalization.sh b/tests/output-normalization.sh
new file mode 100644
index 000000000..0f6df5e31
--- /dev/null
+++ b/tests/output-normalization.sh
@@ -0,0 +1,9 @@
+source common.sh
+
+testNormalization () {
+ clearStore
+ outPath=$(nix-build ./simple.nix --no-out-link)
+ test "$(stat -c %Y $outPath)" -eq 1
+}
+
+testNormalization