File: basic

package info (click to toggle)
plocate 1.1.24-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 460 kB
  • sloc: cpp: 5,390; sh: 84; makefile: 4
file content (9 lines) | stat: -rw-r--r-- 203 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
#! /bin/sh
set -e

# Just check that we can find ourselves after a basic install.
updatedb.plocate
plocate plocate | grep -q plocate

# A negative test.
! plocate DOES_NOT_EXIST | grep -q DOES_NOT_EXIST