summaryrefslogtreecommitdiff
path: root/tests/guix-locate.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/guix-locate.sh')
-rwxr-xr-xtests/guix-locate.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/guix-locate.sh b/tests/guix-locate.sh
index 43f8ba53b0..de0ea5769d 100755
--- a/tests/guix-locate.sh
+++ b/tests/guix-locate.sh
@@ -70,3 +70,9 @@ then
$cmd_store guile | grep "$(guix build guile-bootstrap)/bin/guile"
$cmd_store boot-9.scm | grep ^guile-bootstrap
fi
+
+# The command below is an error: "no files to search for"...
+guix locate && false
+
+# ... but this one is fine.
+guix locate --clear