File: file-tests

package info (click to toggle)
dbuskit 0.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 3,728 kB
  • ctags: 373
  • sloc: objc: 10,309; sh: 9,452; ansic: 200; makefile: 21
file content (15 lines) | stat: -rwxr-xr-x 325 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

exec 2>&1

set -e

test_dev_symlink() {
  assertEquals "inode/symlink" "$(file --mime-type --brief /usr/lib/libDBusKit.so)"
}

test_shared_lib() {
  assertEquals "application/x-sharedlib" "$(file --mime-type --brief /usr/lib/GNUstep/Frameworks/DBusKit.framework/Versions/Current/libDBusKit.so.*.*.*)"
}

. shunit2