]> git.draconx.ca Git - dxcommon.git/commitdiff
Fix DX_BASEDIR substitution test.
authorNick Bowler <nbowler@draconx.ca>
Sat, 6 Mar 2021 21:00:26 +0000 (16:00 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sat, 6 Mar 2021 21:23:08 +0000 (16:23 -0500)
We changed the DX_BASEDIR substitution but the test case was not updated
to reflect that, oops.  Easily fixed.

tests/macros.at
testsuite.at

index 4bf1c69ce9375bcf93912f55a6140defbbe41a50..4c7c8ddecbb7f6edbf615b0280667eb5a57d4e21 100644 (file)
@@ -1,4 +1,4 @@
-dnl Copyright © 2014-2015, 2018 Nick Bowler
+dnl Copyright © 2014-2015, 2018-2019, 2021 Nick Bowler
 dnl
 dnl License WTFPL2: Do What The Fuck You Want To Public License, version 2.
 dnl This is free software: you are free to do what the fuck you want to.
 dnl
 dnl License WTFPL2: Do What The Fuck You Want To Public License, version 2.
 dnl This is free software: you are free to do what the fuck you want to.
@@ -43,8 +43,8 @@ AC_CONFIG_FILES([test])
 TEST_AUTORECONF
 TEST_CONFIGURE
 
 TEST_AUTORECONF
 TEST_CONFIGURE
 
-printf '%s\n' "$srcdir" | sed -e 's:/\./:/:g' -e 's:/\.$::g' \
-                              -e 's:\(.\)//*:\1/:g' >expout
+printf '${top_srcdir}/%s\n' "$srcdir" | sed -e 's:/\./:/:g' -e 's:/\.$::g' \
+                                            -e 's:\(.\)//*:\1/:g' >expout
 AT_CHECK([cat test], [0], [expout])
 
 AT_CLEANUP
 AT_CHECK([cat test], [0], [expout])
 
 AT_CLEANUP
index 0ff22f447a6979558e380bcfec1d26765b0b8d4f..2c08518b4c733eaddfe94d2afd693426d2544dd7 100644 (file)
@@ -1,8 +1,8 @@
-dnl Copyright © 2015,2019-2020 Nick Bowler
-dnl
-dnl License WTFPL2: Do What The Fuck You Want To Public License, version 2.
-dnl This is free software: you are free to do what the fuck you want to.
-dnl There is NO WARRANTY, to the extent permitted by law.
+AT_COPYRIGHT([dnl
+Copyright © 2015,2019-2021 Nick Bowler
+License WTFPL2: Do What The Fuck You Want To Public License, version 2.
+This is free software: you are free to do what the fuck you want to.
+There is NO WARRANTY, to the extent permitted by law.])
 
 AT_INIT
 AT_COLOR_TESTS
 
 AT_INIT
 AT_COLOR_TESTS