File: mt-cli.test

package info (click to toggle)
mt-st 1.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 320 kB
  • sloc: ansic: 1,647; makefile: 106; sh: 16
file content (34 lines) | stat: -rw-r--r-- 561 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Wrong argument
./mt -x
>>>2 /usage: /
>>>= 1

# Missing tape argument
./mt -f
>>>2 /usage: /
>>>= 1

# Unknown command
./mt to-the-moon
>>>2 /mt: unknown command "to-the-moon"/
>>>= 1

# Too many arguments
./mt rewind 1
>>>2 /mt: too many arguments for the command 'rewind'\./
>>>= 1

# Ambigous command
./mt l
>>>2 /mt: ambiguous command "l"/
>>>= 1

# Shortened but not ambiguous command.
./mt rewi 1
>>>2 /mt: too many arguments for the command 'rewind'\./
>>>= 1

# Densities command - the only one not requiring a tape.
./mt densities
>>> /LTO-6/
>>>= 0