future-install-scripts/test/test_mangle

9 lines
237 B
Plaintext
Raw Normal View History

2013-12-09 01:16:58 +08:00
#!/bin/bash
. ./fstab-helpers
2013-12-09 01:16:58 +08:00
. ./test/common
ASSERT_streq ' deleted' "$(unmangle "$(mangle ' deleted')")"
ASSERT_streq '\040deleted' "$(mangle "$(unmangle '\040deleted')")"
ASSERT_streq 'foo\011\040\011bar' "$(mangle $'foo\t \tbar')"