Mercurial > hg > toybox
view scripts/test/dirname.test @ 1161:9dc339b4ac2c draft
Clean up half-finished blkid.test.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 23 Dec 2013 07:37:36 -0600 |
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" "" ""