aboutsummaryrefslogtreecommitdiffstats
path: root/basename-test
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-03-30 20:29:09 +0200
committerMattias Andrée <maandree@kth.se>2016-03-30 20:29:09 +0200
commit8e47c389e81dd32e020d3739a3d9439beaad37d6 (patch)
treef13c99b666fa8f8236ff88de10d211c80bc2142b /basename-test
parentadd printenv test (diff)
downloadbase-util-tests-8e47c389e81dd32e020d3739a3d9439beaad37d6.tar.gz
base-util-tests-8e47c389e81dd32e020d3739a3d9439beaad37d6.tar.bz2
base-util-tests-8e47c389e81dd32e020d3739a3d9439beaad37d6.tar.xz
some improvements
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'basename-test')
-rwxr-xr-xbasename-test/test10
1 files changed, 5 insertions, 5 deletions
diff --git a/basename-test/test b/basename-test/test
index 8cab7a3..3e0d210 100755
--- a/basename-test/test
+++ b/basename-test/test
@@ -73,31 +73,31 @@ step_4_5 ()
step_6 ()
{
- test "$($b a.b b)" = a. &&
+ test "$($b a.b b)" = a.
report $? "step_6"
}
step_6_4 ()
{
- test "$($b a.b/ b)" = a. &&
+ test "$($b a.b/ b)" = a.
report $? "step_6.4"
}
step_6_full ()
{
- test "$($b a.b a.b)" = a.b &&
+ test "$($b a.b a.b)" = a.b
report $? "step_6_full"
}
step_6_mismatch ()
{
- test "$($b a.b c)" = a.b &&
+ test "$($b a.b c)" = a.b
report $? "step_6_mismatch"
}
step_6_longer ()
{
- test "$($b a.b cccccccccccccccccc)" = a.b &&
+ test "$($b a.b cccccccccccccccccc)" = a.b
report $? "step_6_longer"
}