File: test_mangle

package info (click to toggle)
arch-install-scripts 28-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 184 kB
  • sloc: sh: 537; makefile: 41
file content (8 lines) | stat: -rwxr-xr-x 238 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
#!/bin/bash

. "${1:-./common}"
. ./test/common

ASSERT_streq ' deleted' "$(unmangle "$(mangle ' deleted')")"
ASSERT_streq '\040deleted' "$(mangle "$(unmangle '\040deleted')")"
ASSERT_streq 'foo\011\040\011bar' "$(mangle $'foo\t \tbar')"