diff options
author | Max Siling <root@goldstein.rs> | 2024-08-07 21:48:01 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@localhost> | 2024-08-07 21:48:01 +0000 |
commit | 6fdb47f0b259a9ffbe4bdb349d6aaf03a0144092 (patch) | |
tree | d6d0d5011d5dae3061f086293c47cbb450c89689 /tests | |
parent | 0800a81a9506463fd46fd8a22b9996488fc268a3 (diff) | |
parent | 9adfd9b8ad48f631c935d5a146bbf98a3cf603cb (diff) |
Merge "src/libcmd/repl.cc: allow :log /path/to/store.drv" into main
Diffstat (limited to 'tests')
-rw-r--r-- | tests/functional/repl.sh | 5 |
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=" |