summaryrefslogtreecommitdiff
path: root/tests/scripts/functions/abspath
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts/functions/abspath')
-rw-r--r--tests/scripts/functions/abspath32
1 files changed, 16 insertions, 16 deletions
diff --git a/tests/scripts/functions/abspath b/tests/scripts/functions/abspath
index d419255..84c30ab 100644
--- a/tests/scripts/functions/abspath
+++ b/tests/scripts/functions/abspath
@@ -5,68 +5,68 @@ $details = "";
run_make_test('
ifneq ($(realpath $(abspath .)),$(CURDIR))
- $(error )
+ $(warning .: abs="$(abspath .)" real="$(realpath $(abspath .))" curdir="$(CURDIR)")
endif
ifneq ($(realpath $(abspath ./)),$(CURDIR))
- $(error )
+ $(warning ./: abs="$(abspath ./)" real="$(realpath $(abspath ./))" curdir="$(CURDIR)")
endif
ifneq ($(realpath $(abspath .///)),$(CURDIR))
- $(error )
+ $(warning .///: abs="$(abspath .///)" real="$(realpath $(abspath .///))" curdir="$(CURDIR)")
endif
ifneq ($(abspath /),/)
- $(error )
+ $(warning /: abspath="$(abspath /)")
endif
ifneq ($(abspath ///),/)
- $(error )
+ $(warning ///: abspath="$(abspath ///)")
endif
ifneq ($(abspath /.),/)
- $(error )
+ $(warning /.: abspath="$(abspath /.)")
endif
ifneq ($(abspath ///.),/)
- $(error )
+ $(warning ///.: abspath="$(abspath ///.)")
endif
ifneq ($(abspath /./),/)
- $(error )
+ $(warning /./: abspath="$(abspath /./)")
endif
ifneq ($(abspath /.///),/)
- $(error )
+ $(warning /.///: abspath="$(abspath /.///)")
endif
ifneq ($(abspath /..),/)
- $(error )
+ $(warning /..: abspath="$(abspath /..)")
endif
ifneq ($(abspath ///..),/)
- $(error )
+ $(warning ///..: abspath="$(abspath ///..)")
endif
ifneq ($(abspath /../),/)
- $(error )
+ $(warning /../: abspath="$(abspath /../)")
endif
ifneq ($(abspath /..///),/)
- $(error )
+ $(warning /..///: abspath="$(abspath /..///)")
endif
ifneq ($(abspath /foo/bar/..),/foo)
- $(error )
+ $(warning /foo/bar/..: abspath="$(abspath /foo/bar/..)")
endif
ifneq ($(abspath /foo/bar/../../../baz),/baz)
- $(error )
+ $(warning /foo/bar/../../../baz: abspath="$(abspath /foo/bar/../../../baz)")
endif
ifneq ($(abspath /foo/bar/../ /..),/foo /)
- $(error )
+ $(warning /foo/bar/../ /..: abspath="$(abspath /foo/bar/../ /..)")
endif