Mercurial > hg > toybox
view scripts/test/dirname.test @ 833:98dc18ed57a3
uudecode test should just call "uudecode" (not multiplexer via a path), and first test shouldn't succeed if toybox isn't even there.
author | Rob Landley <rob@landley.net> |
---|---|
date | Wed, 27 Mar 2013 00:04:43 -0500 |
parents | 786841fdb1e0 |
children |
line wrap: on
line source
#!/bin/bash [ -f testing.sh ] && . testing.sh #testing "name" "command" "result" "infile" "stdin" testing "dirname /-only" "dirname ///////" "/\n" "" "" testing "dirname trailing /" "dirname a//////" ".\n" "" "" testing "dirname combined" "dirname /////a///b///c///d/////" "/////a///b///c\n" "" "" testing "dirname /a/" "dirname /////a///" "/\n" "" ""