aboutsummaryrefslogtreecommitdiff
path: root/tests/functional
diff options
context:
space:
mode:
authorMax Siling <root@goldstein.rs>2024-08-07 21:48:01 +0000
committerGerrit Code Review <gerrit@localhost>2024-08-07 21:48:01 +0000
commit6fdb47f0b259a9ffbe4bdb349d6aaf03a0144092 (patch)
treed6d0d5011d5dae3061f086293c47cbb450c89689 /tests/functional
parent0800a81a9506463fd46fd8a22b9996488fc268a3 (diff)
parent9adfd9b8ad48f631c935d5a146bbf98a3cf603cb (diff)
Merge "src/libcmd/repl.cc: allow :log /path/to/store.drv" into main
Diffstat (limited to 'tests/functional')
-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="