File: file-tests

package info (click to toggle)
gnustep-make 2.9.3-6
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,704 kB
  • sloc: sh: 4,577; objc: 1,031; perl: 453; makefile: 56
file content (19 lines) | stat: -rwxr-xr-x 353 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

exec 2>&1

set -e

test_opentool() {
  assertEquals "text/x-shellscript" "$(file --mime-type --brief /usr/bin/opentool)"
}

test_openapp() {
  assertEquals "text/x-shellscript" "$(file --mime-type --brief /usr/bin/openapp)"
}

test_debugapp() {
  assertEquals "text/x-shellscript" "$(file --mime-type --brief /usr/bin/debugapp)"
}

. shunit2