File: test_readlink

package info (click to toggle)
mp3fs 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, trixie
  • size: 888 kB
  • sloc: cpp: 1,884; ansic: 564; sh: 298; makefile: 82
file content (6 lines) | stat: -rwxr-xr-x 159 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
#!/bin/bash

. "${BASH_SOURCE%/*}/funcs.sh"

check_equal "$(readlink "$DIRNAME/obama2.mp3")" obama.mp3
check_equal "$(readlink "$DIRNAME/some.txt")" other.txt