aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/repl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/repl.sh')
-rw-r--r--tests/functional/repl.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/functional/repl.sh b/tests/functional/repl.sh
index 22c69e20b..1f2c2e93f 100644
--- a/tests/functional/repl.sh
+++ b/tests/functional/repl.sh
@@ -271,3 +271,8 @@ a = ''test string that we'll grep later''
:e identity
a
" "undefined variable"
+
+# Test :log with derivation paths.
+simple_path="$(nix-instantiate "$testDir/simple.nix")"
+# `PATH=` is a part of build log.
+testReplResponseNoRegex ":log ${simple_path}" "PATH="