diff options
author | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-31 21:15:54 +0100 |
---|---|---|
committer | Andreas Guldstrand <andreas.guldstrand@gmail.com> | 2015-12-31 22:52:46 +0100 |
commit | 73f3bfd086b404f50cf7de634411b56b1ce8bb69 (patch) | |
tree | 195c15d10afad1f5c0c1faa7e68ad15641f9922e /t/travis-deps/install.sh | |
parent | a92a2db61b4eed5d3871340c2985ccbc15aac4ae (diff) | |
download | sbotools2-73f3bfd086b404f50cf7de634411b56b1ce8bb69.tar.xz |
Add multilib fail tests. See #23
Diffstat (limited to 't/travis-deps/install.sh')
-rw-r--r-- | t/travis-deps/install.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/t/travis-deps/install.sh b/t/travis-deps/install.sh index 073802e..125e4f6 100644 --- a/t/travis-deps/install.sh +++ b/t/travis-deps/install.sh @@ -2,3 +2,14 @@ mkdir -p /var/log/packages cp -a t/travis-deps/*pkg /sbin/ echo "127.0.0.1 slackware.uk" >> /etc/hosts + +if [ "$TEST_MULTILIB" = "1" ] +then + mkdir -p /etc/profile.d/ + touch /etc/profile.d/32dev.sh +elif [ "$TEST_MULTILIB" = "2" ] +then + mkdir -p /etc/profile.d/ /usr/sbin/ + touch /etc/profile.d/32dev.sh + cp -a t/travis-deps/convertpkg-compat32 /usr/sbin +fi |